Urho.ShaderPrecache Class

Utility class for collecting used shader combinations during runtime for precaching.

See Also: ShaderPrecache

Syntax

public class ShaderPrecache : UrhoObject

Requirements

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

The members of Urho.ShaderPrecache are listed below.

See Also: UrhoObject

Public Constructors

Constructs a new instance of Urho.ShaderPrecache, given a raw pointer to an unmanaged object
Constructs a new instance of Urho.ShaderPrecache 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]
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.

Public Methods

static
LoadShaders(Graphics, File)
static
LoadShaders(Graphics, MemoryBuffer)
StoreShaders(ShaderVariation, ShaderVariation)
Collect a shader combination. Called by Graphics when shaders have been set.