struct
Eagle::GPU::RenderTargetHandle
- Eagle::GPU::RenderTargetHandle
- Struct
- Value
- Object
Overview
GPU handles for an off-screen render target. Canvas wraps one.
Defined in:
eagle/gpu/device.crConstructors
-
.new(fbo : UInt32, color : UInt32, depth : UInt32, width : Int32, height : Int32, depth_texture : Bool = false)
Wraps render-target handles.
Instance Method Summary
-
#color : UInt32
Color texture id.
-
#depth : UInt32
Depth buffer or texture id.
-
#depth_texture? : Bool
True when
#depthis a sampleable depth texture (shadow maps). -
#fbo : UInt32
Framebuffer object id.
-
#height : Int32
Height in pixels.
-
#width : Int32
Width in pixels.
Constructor Detail
def self.new(fbo : UInt32, color : UInt32, depth : UInt32, width : Int32, height : Int32, depth_texture : Bool = false)
#
Wraps render-target handles.