Language: Visual BasicC#C++JScript(Show All)
VertexInformation.GetDeclarationVertexSize(VertexElement[],Int32) Method (Microsoft.DirectX.Direct3D)
Returns the size of the vertex declaration for a flexible vertex format (FVF).
Definition
| Visual Basic | Public Shared Function GetDeclarationVertexSize( _ ByVal declarator() As VertexElement, _ ByVal stream As Integer _ ) As Integer |
| C# | public static int GetDeclarationVertexSize( VertexElement[] declarator, int stream ); |
| C++ | public: static int GetDeclarationVertexSize( array<VertexElement>^ declarator, int stream ); |
| JScript | public static function GetDeclarationVertexSize( declarator : VertexElement[], stream : int ) :
int; |
Parameters
Return Value
Remarks
A stream is defined as a uniform array of component data, where each component consists of one or more elements representing a single entity such as position, normal, color, and so on.