public final class JCGLTLTextureUpdateProvider extends Object implements JCGLTLTextureUpdateProviderType
JCGLTLTextureUpdateProviderType
interface.| Modifier and Type | Method and Description |
|---|---|
JCGLTexture2DUpdateType |
createTextureUpdate2D(JCGLTexture2DUsableType t,
JCGLTLTextureDataType data)
Populate and return a texture update for
t using the contents of
data. |
JCGLTextureCubeUpdateType |
createTextureUpdateCube(JCGLTextureCubeUsableType t,
JCGLTLTextureDataType data)
Populate and return a texture update for
t using the contents of
data. |
static JCGLTLTextureUpdateProviderType |
newProvider() |
public static JCGLTLTextureUpdateProviderType newProvider()
public JCGLTexture2DUpdateType createTextureUpdate2D(JCGLTexture2DUsableType t, JCGLTLTextureDataType data)
JCGLTLTextureUpdateProviderTypet using the contents of
data. The width and height of data must be less than or
equal to the width and height of t.createTextureUpdate2D in interface JCGLTLTextureUpdateProviderTypet - The texturedata - The update datapublic JCGLTextureCubeUpdateType createTextureUpdateCube(JCGLTextureCubeUsableType t, JCGLTLTextureDataType data)
JCGLTLTextureUpdateProviderTypet using the contents of
data. The width and height of data must be less than or
equal to the width and height of t.createTextureUpdateCube in interface JCGLTLTextureUpdateProviderTypet - The texturedata - The update dataCopyright © 2017 <code@io7m.com> http://io7m.com