Synced
MaterialValue
Section titled “MaterialValue”
- Stores one native-serializable material value without a GPU binding.
Required contracts
Section titled “Required contracts”API: engine
Inherits: System.ValueType
Project: Inno.Rendering.Assets
Declaration
Section titled “Declaration”public struct Inno.Rendering.Assets.MaterialValueMembers
Section titled “Members”| 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. |