Show / Hide Table of Contents

Struct ShaderUniformDescription

Description for shader uniforms used in a CustomShader render stage

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
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
In this article
Back to top yak2D - Alex Paterson