22 if (elements !=
null && elements.Length != 0)
63 if (elements !=
null && elements.Length != 0)
142 if (vertexType ==
null)
154 if (vertexDeclaration ==
null)
158 if (
Marshal.
SizeOf(vertexType) != vertexDeclaration._vertexStride)
162 return vertexDeclaration;
165 [HandleProcessCorruptedStateExceptions]
static string NullNotAllowed
static string VertexTypeNotIVertexType
static string VertexTypeNullDeclaration
static string VertexTypeWrongSize
static string VertexTypeNotValueType
DeclarationBinding CreateBinding(VertexDeclaration declaration)
void ReleaseBinding(DeclarationBinding binding)
DeclarationManager vertexDeclarationManager
ProfileCapabilities _profileCapabilities
DeclarationBinding _binding
void Bind(GraphicsDevice device)
VertexDeclaration(int vertexStride, params VertexElement[] elements)
void _007EVertexDeclaration()
VertexElement[] GetVertexElements()
void _0021VertexDeclaration()
VertexDeclaration(params VertexElement[] elements)
static VertexDeclaration FromType(Type vertexType)
override void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
VertexElement[] _elements
static void Validate(int vertexStride, VertexElement[] elements)
static int GetVertexStride(VertexElement[] elements)
static ? object CreateInstance([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors|DynamicallyAccessedMemberTypes.NonPublicConstructors)] Type type, BindingFlags bindingAttr, Binder? binder, object?[]? args, CultureInfo? culture)
static CultureInfo CurrentCulture
static int SizeOf(object structure)