Struct ShaderUniformDescription
Description for shader uniforms used in a CustomShader render stage
Inherited Members
Namespace: Yak2D
Assembly: Yak2D.Api.dll
Syntax
public struct ShaderUniformDescription
Properties
Name
Uniform string name - used as a refrence when updating values
Declaration
public string Name { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SizeInBytes
Size of uniform data in bytes
Declaration
public uint SizeInBytes { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| uint |
UniformType
Data Type -> Texture, Struct or Struct Array
Declaration
public ShaderUniformType UniformType { readonly get; set; }
Property Value
| Type | Description |
|---|---|
| ShaderUniformType |