public class JoglTexSampler extends java.lang.Object implements IGLResource
Constructor and Description |
---|
JoglTexSampler(GraphicsPipeline pipe) |
Modifier and Type | Method and Description |
---|---|
void |
Bind(com.jogamp.opengl.GL3 gl3,
int texUnit) |
boolean |
isLoaded() |
void |
load(GraphicsPipeline pipe) |
void |
setMagFilter(com.jogamp.opengl.GL3 gl3,
int pVal) |
void |
setMaxAnisotropy(com.jogamp.opengl.GL3 gl3,
float pVal) |
void |
setMinFilter(com.jogamp.opengl.GL3 gl3,
int pVal) |
void |
setParameterf(com.jogamp.opengl.GL3 gl3,
int pName,
float pVal) |
void |
setParameteri(com.jogamp.opengl.GL3 gl3,
int pName,
int pVal) |
void |
Unbind(com.jogamp.opengl.GL3 gl3,
int texUnit) |
void |
unload(GraphicsPipeline pipe) |
public JoglTexSampler(GraphicsPipeline pipe)
public boolean isLoaded()
isLoaded
in interface IGLResource
public void load(GraphicsPipeline pipe)
load
in interface IGLResource
public void unload(GraphicsPipeline pipe)
unload
in interface IGLResource
public void setParameteri(com.jogamp.opengl.GL3 gl3, int pName, int pVal)
public void setParameterf(com.jogamp.opengl.GL3 gl3, int pName, float pVal)
public void setMinFilter(com.jogamp.opengl.GL3 gl3, int pVal)
public void setMagFilter(com.jogamp.opengl.GL3 gl3, int pVal)
public void setMaxAnisotropy(com.jogamp.opengl.GL3 gl3, float pVal)
public void Bind(com.jogamp.opengl.GL3 gl3, int texUnit)
public void Unbind(com.jogamp.opengl.GL3 gl3, int texUnit)