public class RenderTargetCubeTexture extends RenderTargetTexture
Texture.ImageLoadHandler, Texture.MAPPING_MODE, Texture.OPERATIONS
shareDepthFrom
Constructor and Description |
---|
RenderTargetCubeTexture(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
deallocate(WebGLRenderingContext gl) |
int |
getActiveCubeFace() |
WebGLFramebuffer |
getWebGLFramebuffer() |
void |
setActiveCubeFace(int activeCubeFace) |
void |
setRenderTarget(WebGLRenderingContext gl) |
void |
setupFrameBuffer(WebGLRenderingContext gl,
WebGLFramebuffer framebuffer,
TextureTarget textureTarget,
int slot) |
void |
updateRenderTargetMipmap(WebGLRenderingContext gl) |
clone, getDepthBuffer, getHeight, getStencilBuffer, getWidth, setDepthBuffer, setHeight, setSize, setStencilBuffer, setupFrameBuffer, setupRenderBuffer, setWidth
clone, deallocate, getAnisotropy, getFormat, getId, getImage, getMagFilter, getMapping, getMinFilter, getOffset, getRepeat, getType, getUnpackAlignment, getWebGlTexture, getWrapS, getWrapT, isFlipY, isGenerateMipmaps, isNeedsUpdate, isPremultiplyAlpha, setAnisotropy, setFlipY, setFormat, setGenerateMipmaps, setImage, setMagFilter, setMapping, setMinFilter, setNeedsUpdate, setOffset, setPremultiplyAlpha, setRepeat, setTextureParameters, setTextureParameters, setType, setUnpackAlignment, setWebGlTexture, setWrapS, setWrapT
public int getActiveCubeFace()
public void setActiveCubeFace(int activeCubeFace)
public void deallocate(WebGLRenderingContext gl)
deallocate
in class RenderTargetTexture
public WebGLFramebuffer getWebGLFramebuffer()
getWebGLFramebuffer
in class RenderTargetTexture
public void setRenderTarget(WebGLRenderingContext gl)
setRenderTarget
in class RenderTargetTexture
public void setupFrameBuffer(WebGLRenderingContext gl, WebGLFramebuffer framebuffer, TextureTarget textureTarget, int slot)
public void updateRenderTargetMipmap(WebGLRenderingContext gl)
updateRenderTargetMipmap
in class RenderTargetTexture