Urho.OcclusionBuffer Class

Software renderer for occlusion.

See Also: OcclusionBuffer


public class OcclusionBuffer : UrhoObject


Namespace: Urho
Assembly: Urho (in Urho.dll)
Assembly Versions:

The members of Urho.OcclusionBuffer are listed below.

See Also: UrhoObject

Public Constructors

Constructs a new instance of Urho.OcclusionBuffer which is tied to the Application.CurrentContext.
Constructs a new instance of Urho.OcclusionBuffer, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.OcclusionBuffer linked to a specific Context.

Protected Constructors

Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field.

Public Properties

BufferInt32*. Return highest level depth values.
CullModeCullMode. Return culling mode. Or Set culling mode.
HeightInt32. Return buffer height.
MaxTrianglesUInt32. Return maximum number of triangles. Or Set maximum triangles to render.
NumTrianglesUInt32. Return number of rendered triangles.
ProjectionMatrix4. Return projection matrix.
ThreadedBoolean. Return whether is using threads to speed up rendering.
TypeStringHash. Urho's type system type.
TypeNameString. Urho's low-level type name.
TypeNameStaticString. Urho's low-level type name, accessible as a static method.
TypeStaticStringHash. Urho's low-level type, accessible as a static method.
UseTimerUInt32. Return time since last use in milliseconds.
ViewMatrix3x4. Return view transform matrix.
WidthInt32. Return buffer width.

Public Methods

AddTriangles(Matrix3x4, Void*, UInt32, UInt32, UInt32) : Boolean
AddTriangles(Matrix3x4, Void*, UInt32, Void*, UInt32, UInt32, UInt32) : Boolean
Build reduced size mip levels.
Clear the buffer.
Draw submitted batches. Uses worker threads if enabled during SetSize().
IsVisible(BoundingBox) : Boolean
Test a bounding box for visibility. For best performance, build depth hierarchy first.
Reset number of triangles.
Reset last used timer.
SetSize(Int32, Int32, Boolean) : Boolean
Set camera view to render from.