Urho.OcclusionBuffer Class

Software renderer for occlusion.

See Also: OcclusionBuffer

Syntax

public class OcclusionBuffer : UrhoObject

Requirements

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

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

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

Public Methods

AddTriangles(Matrix3x4, Void*, UInt32, UInt32, UInt32) : Boolean
AddTriangles(Matrix3x4, Void*, UInt32, Void*, UInt32, UInt32, UInt32) : Boolean
BuildDepthHierarchy()
Build reduced size mip levels.
Clear()
Clear the buffer.
DrawTriangles()
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()
Reset number of triangles.
ResetUseTimer()
Reset last used timer.
SetSize(Int32, Int32, Boolean) : Boolean
SetView(Camera)
Set camera view to render from.