public final class R2TextureDefaults extends Object implements R2TextureDefaultsType
R2TextureDefaultsType
interface.Modifier and Type | Method and Description |
---|---|
R2Texture2DUsableType |
black2D() |
R2TextureCubeUsableType |
blackCube() |
static R2TextureDefaultsType |
create(com.io7m.jcanephora.core.api.JCGLTexturesType g_t,
com.io7m.jcanephora.texture.unit_allocator.JCGLTextureUnitContextParentType tc)
Allocate the default textures.
|
void |
delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g)
Delete the current object.
|
boolean |
isDeleted() |
R2Texture2DUsableType |
normal2D() |
R2Texture2DUsableType |
white2D() |
R2Texture2DUsableType |
whiteProjective2D() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
wrap
public static R2TextureDefaultsType create(com.io7m.jcanephora.core.api.JCGLTexturesType g_t, com.io7m.jcanephora.texture.unit_allocator.JCGLTextureUnitContextParentType tc)
g_t
- A texture interfacetc
- A texture unit allocatorpublic R2Texture2DUsableType normal2D()
normal2D
in interface R2TextureDefaultsType
public R2Texture2DUsableType white2D()
white2D
in interface R2TextureDefaultsType
public R2Texture2DUsableType black2D()
black2D
in interface R2TextureDefaultsType
public R2Texture2DUsableType whiteProjective2D()
whiteProjective2D
in interface R2TextureDefaultsType
public R2TextureCubeUsableType blackCube()
blackCube
in interface R2TextureDefaultsType
public void delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g) throws R2Exception
R2DeletableType
delete
in interface R2DeletableType
g
- An OpenGL interfaceR2Exception
- On errorspublic boolean isDeleted()
isDeleted
in interface com.io7m.jcanephora.core.JCGLResourceUsableType
Copyright © 2017 <code@io7m.com> http://io7m.com