public final class JCGLTextureUpdates extends Object
| Modifier and Type | Method and Description |
|---|---|
static JCGLTexture2DUpdateType |
newUpdateReplacingAll2D(JCGLTexture2DUsableType t)
Create a new update that will replace the entirety of
t. |
static JCGLTextureCubeUpdateType |
newUpdateReplacingAllCube(JCGLTextureCubeUsableType t)
Create a new update that will replace the entirety of one face of
t. |
static JCGLTexture2DUpdateType |
newUpdateReplacingArea2D(JCGLTexture2DUsableType t,
com.io7m.jareas.core.AreaInclusiveUnsignedLType area)
Create a new update that will replace the given
area of t. |
static JCGLTextureCubeUpdateType |
newUpdateReplacingAreaCube(JCGLTextureCubeUsableType t,
com.io7m.jareas.core.AreaInclusiveUnsignedLType area)
Create a new update that will replace the given
area of t. |
public static JCGLTextureCubeUpdateType newUpdateReplacingAllCube(JCGLTextureCubeUsableType t)
t.t - The texturepublic static JCGLTextureCubeUpdateType newUpdateReplacingAreaCube(JCGLTextureCubeUsableType t, com.io7m.jareas.core.AreaInclusiveUnsignedLType area)
area of t.
area must be included within the area of t.t - The texturearea - The area that will be updatedcom.io7m.jranges.RangeCheckException - Iff area is not included within tpublic static JCGLTexture2DUpdateType newUpdateReplacingAll2D(JCGLTexture2DUsableType t)
t.t - The texturepublic static JCGLTexture2DUpdateType newUpdateReplacingArea2D(JCGLTexture2DUsableType t, com.io7m.jareas.core.AreaInclusiveUnsignedLType area)
area of t.
area must be included within the area of t.t - The texturearea - The area that will be updatedcom.io7m.jranges.RangeCheckException - Iff area is not included within tCopyright © 2016 <code@io7m.com> http://io7m.com