Show / Hide Table of Contents

Struct ShaderUniformDescription

Description for shader uniforms used in a CustomShader render stage

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 { get; set; }
Property Value
Type Description
System.String

SizeInBytes

Size of uniform data in bytes

Declaration
public uint SizeInBytes { get; set; }
Property Value
Type Description
System.UInt32

UniformType

Data Type -> Texture, Struct or Struct Array

Declaration
public ShaderUniformType UniformType { get; set; }
Property Value
Type Description
ShaderUniformType
In This Article
Back to top yak2D - Alex Paterson