Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Stores one native-serializable material value without a GPU binding.

API: engine
Inherits: System.ValueType
Project: Inno.Rendering.Assets

public struct Inno.Rendering.Assets.MaterialValue
Kind Element Description
Methods MaterialValue.FromColor Creates a linear color material value.
Methods MaterialValue.FromFloat Creates a scalar material value.
Methods MaterialValue.FromMatrix Creates a matrix material value.
Methods MaterialValue.FromTexture Creates a texture material value.
Methods MaterialValue.FromVector Creates a vector material value.
Properties MaterialValue.kind Gets or sets the stored value kind.
Properties MaterialValue.matrix Gets or sets the matrix value.
Properties MaterialValue.sampler Gets or sets the sampler used when this value stores a texture.
Properties MaterialValue.texture Gets or sets the texture reference.
Properties MaterialValue.vector Gets or sets scalar, vector, or color components.