public interface R2GeometryBufferUsableType extends R2RenderTargetUsableType<R2GeometryBufferDescription>
Modifier and Type | Method and Description |
---|---|
R2Texture2DUsableType |
albedoEmissiveTexture() |
R2Texture2DUsableType |
depthTexture() |
R2Texture2DUsableType |
normalTexture() |
Optional<R2Texture2DUsableType> |
specularTexture() |
default R2Texture2DUsableType |
specularTextureOrDefault(R2TextureDefaultsType td)
Return either the allocated specular texture, or a suitable default
replacement that behaves as if the geometry buffer contains no specular
components.
|
clearBoundPrimaryFramebuffer, description, primaryFramebuffer, size, sizeAsViewport
R2Texture2DUsableType albedoEmissiveTexture()
R2Texture2DUsableType normalTexture()
Optional<R2Texture2DUsableType> specularTexture()
default R2Texture2DUsableType specularTextureOrDefault(R2TextureDefaultsType td)
td
- The texture defaultsR2Texture2DUsableType depthTexture()
Copyright © 2017 <code@io7m.com> http://io7m.com