Vrátí velikost a ofset textury pro daný formát vrcholu.
Jmenný prostor:
SGP.XSpaceKnihovna: SGPRTL (v SGPRTL)
Verze: dll
Syntaxe
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public static void GetVertexFormatTextureCoordinateOffset( VertexFormats vertexFormat, int textureLayer, out int size, out int texturePosOfs ) |
Parametry
- vertexFormat
- Typ: VertexFormats
Formát vrcholu.
- textureLayer
- Typ: System..::.Int32
Číslo vrstvy textury.
- size
- Typ:
System..::.Int32
%
Návratová hodnota velikosti záznamu o vrcholu v bajtech.
- texturePosOfs
- Typ:
System..::.Int32
%
Návratová hodnota ofsetu pozice textury vrcholu od začátku záznamu v bytech.