Static methods
staticcreate3D(size:Int, alphaChannel:Bool = true, type:String = "unsigned_byte"):FoxFramebufferCubemap
Creates a framebuffer with a cubemap attached, this is 6 textures (one for each face of the cube) for color and depth each
Constructor
Methods
setDepthTexture(?texture:FoxTexture, withStencil:Bool = true):Bool
Attaches a depth cubemap texture to this framebuffer.
Setting texture to null removes the attachment.
Parameters:
texture | A valid |
|---|
Returns:
Always false since the framebuffer doesn't have any starting attachments
setColorTexture(index:Int, ?texture:FoxTexture):Bool
Attaches a color texture to this cubemap, you can also specify a color buffer output (first attachment MUST be 0)
Setting texture to null removes the attachment.
Parameters:
texture | A valid |
|---|
Returns:
Always false since the framebuffer doesn't have any starting attachments