public interface R2TextureCubeStaticType extends R2TextureCubeType
| Modifier and Type | Method and Description |
|---|---|
default void |
delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g)
Delete the current object.
|
default boolean |
isDeleted() |
default <A,B> B |
matchTexture(A context,
BiFunction<A,R2Texture2DUsableType,B> on_2d,
BiFunction<A,R2TextureCubeUsableType,B> on_cube)
Match on the type of texture.
|
default com.io7m.jcanephora.core.JCGLTextureCubeUsableType |
texture() |
com.io7m.jcanephora.core.JCGLTextureCubeType |
textureWritable() |
com.io7m.jcanephora.core.JCGLTextureCubeType textureWritable()
textureWritable in interface R2TextureCubeTypedefault com.io7m.jcanephora.core.JCGLTextureCubeUsableType texture()
texture in interface R2TextureCubeUsableTypedefault boolean isDeleted()
isDeleted in interface com.io7m.jcanephora.core.JCGLResourceUsableTypedefault void delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g)
throws R2Exception
R2DeletableTypedelete in interface R2DeletableTypeg - An OpenGL interfaceR2Exception - On errorsdefault <A,B> B matchTexture(A context,
BiFunction<A,R2Texture2DUsableType,B> on_2d,
BiFunction<A,R2TextureCubeUsableType,B> on_cube)
R2TextureUsableTypematchTexture in interface R2TextureUsableTypeA - The type of context valuesB - The type of returned valuescontext - A user-defined context valueon_2d - Evaluated on values of type R2Texture2DUsableTypeon_cube - Evaluated on values of type R2TextureCubeUsableTypeCopyright © 2016 <code@io7m.com> http://io7m.com