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

API: scripting
Inherits: System.ValueType
Project: Inno.Rendering.Assets
Scope: Runtime

public struct InnoEngine.Rendering.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.