Urho.ShaderVariation Class

Vertex or pixel shader on the GPU.

See Also: ShaderVariation


public class ShaderVariation : RefCounted


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

The members of Urho.ShaderVariation are listed below.

See Also: RefCounted

Public Constructors

Constructs a new instance of Urho.ShaderVariation, given a raw pointer to an unmanaged object

Protected Constructors

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

Public Properties

CompilerOutputString. Return compile error/warning string.
ConstantBufferSizesUInt32*. Return constant buffer data sizes.
DefinesString. Return defines. Or Set defines.
DefinesClipPlaneString. Return defines with the CLIPPLANE define appended. Used internally on Direct3D11 only, will be empty on other APIs.
ElementHashUInt64. Return vertex element hash.
FullNameString. Return full shader name.
NameString. Return name. Or Set name.
OwnerShader. Return the owner resource.
ShaderTypeShaderType. Return shader type.

Public Methods

Create() : Boolean
Compile the shader. Return true if successful.
HasParameter(StringHash) : Boolean
HasTextureUnit(TextureUnit) : Boolean
Release the shader.