Returns size and size for given vertex format.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static void GetVertexFormatTextureCoordinateOffset( VertexFormats vertexFormat, int textureLayer, out int size, out int texturePosOfs ) |
Parameters
- vertexFormat
- Type: VertexFormats
A vertex format.
- textureLayer
- Type: System..::.Int32
The number of the texture layer.
- size
- Type:
System..::.Int32
%
A return value containing the size of the vertex record in bytes.
- texturePosOfs
- Type:
System..::.Int32
%
A return value containing the texture offset of the vertex record in bytes.