public class ImmediateMeshContext
extends com.scichart.core.framework.DisposableBase
Constructor and Description |
---|
ImmediateMeshContext(TSRRenderMode renderMode) |
ImmediateMeshContext(TSRRenderMode renderMode,
TSRShaderEffect shaderEffect) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
setVertex3(float x,
float y,
float z)
Sets the X,Y,Z position of the current vertex
|
void |
setVertexColor(int color)
Sets the Vertex Color of the current vertex
|
void |
texCoord2(float u,
float v)
Sets the Texture Coordinate for the current vertex
|
public ImmediateMeshContext(TSRRenderMode renderMode)
public ImmediateMeshContext(TSRRenderMode renderMode, TSRShaderEffect shaderEffect)
public void dispose()
public final void setVertexColor(int color)
color
- The color to setpublic final void setVertex3(float x, float y, float z)
x
- The x coordy
- The y coordz
- The z coordpublic final void texCoord2(float u, float v)
u
- The u coordv
- the v coord