public class PipelineStateGL2 extends PipelineState
PipelineState.BlendMode, PipelineState.CullState, PipelineState.MaskState
Modifier and Type | Field and Description |
---|---|
protected com.jogamp.opengl.GL2 |
gl |
bDepthTest, currentBlendMode, currentCullState, currentMaskState, pipe
Constructor and Description |
---|
PipelineStateGL2() |
Modifier and Type | Method and Description |
---|---|
void |
Apply(GraphicsPipeline pipe) |
protected void |
setColor(double r,
double g,
double b) |
protected void |
setColor(double r,
double g,
double b,
double a) |
protected void |
setColor(float r,
float g,
float b) |
protected void |
setColor(float r,
float g,
float b,
float a) |
protected void |
setColor(JoglVectord3 col) |
protected void |
setColor(JoglVectord4 col) |
void |
setCullState(PipelineState.CullState cs) |
void |
setDepthTest(boolean bTest) |
protected void |
setDrawMode(PipelineState.BlendMode bmode) |
void |
setMaskState(PipelineState.MaskState ms) |
void |
Unapply(GraphicsPipeline pipe) |
public void Apply(GraphicsPipeline pipe)
Apply
in class PipelineState
public void Unapply(GraphicsPipeline pipe)
Unapply
in class PipelineState
protected void setColor(float r, float g, float b)
protected void setColor(double r, double g, double b)
protected void setColor(JoglVectord3 col)
protected void setColor(float r, float g, float b, float a)
protected void setColor(double r, double g, double b, double a)
protected void setColor(JoglVectord4 col)
protected void setDrawMode(PipelineState.BlendMode bmode)
public void setMaskState(PipelineState.MaskState ms)
public void setCullState(PipelineState.CullState cs)
public void setDepthTest(boolean bTest)