MeshSpecificationType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies a mesh shader declaration's element type.
public enum MeshSpecificationType
type MeshSpecificationType =
- Inheritance
-
MeshSpecificationType
Fields
| Name | Value | Description |
|---|---|---|
| Float | 0 | Represents one float. Its equivalent shader type is float. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Float2 | 1 | Represents two floats. Its equivalent shader type is float2. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Float3 | 2 | Represents three floats. Its equivalent shader type is float3. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Float4 | 3 | Represents four floats. Its equivalent shader type is float4. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
| Ubyte4 | 4 | Represents four bytes. Its equivalent shader type is half4. Android reference for Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. |
Remarks
These are declaration type codes, separate from byte offsets and vertex stride.