public final class JCGLTLTextureUpdateProvider extends Object implements JCGLTLTextureUpdateProviderType
JCGLTLTextureUpdateProviderType
interface.| Modifier and Type | Method and Description |
|---|---|
JCGLTexture2DUpdateType |
getTextureUpdate(JCGLTexture2DUsableType 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 getTextureUpdate(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.getTextureUpdate in interface JCGLTLTextureUpdateProviderTypet - The texturedata - The update dataCopyright © 2016 <code@io7m.com> http://io7m.com