63 value.referenceCount++;
85 if (--
binding.referenceCount <= 0)
87 binding.root.RecursiveRelease();
113 for (
int i = 0; i <
count; i++)
160 return (
byte)
num2 != 0;
226 return (
byte)
num2 != 0;
305 num = (int)((nint)
array[
num2].elements.LongLength + num);
327 for (
int j = 0;
j < (nint)elements.LongLength;
j++)
330 *(
short*)
ptr2 = (
short)i;
331 *(
short*)((
byte*)
ptr2 + 2) = (
short)elements[
j].
Offset;
333 ((
byte*)
ptr2)[5] = 0;
335 ((
byte*)
ptr2)[7] = (byte)elements[
j].UsageIndex;
338 byte b = (byte)(((
byte*)
ptr2)[7] + 1);
339 ((
byte*)
ptr2)[7] =
b;
372 ptr5 = ((
ptr4 ==
null) ?
null :
_003CModule_003E.Microsoft_002EXna_002EFramework_002EGraphics_002EVertexShaderInputSemantics_002E_007Bctor_007D(
ptr4,
ptr, (uint)num));
381 node.pSemantics =
ptr5;
402 byte b = (pos * 8 + (
byte*)elements)[6];
406 if (
b != *((
byte*)
ptr - 1) || (pos * 8 + (
byte*)elements)[7] != *(
byte*)
ptr)
423 if (0 < (nint)
obj.LongLength)
427 num ^=
obj[
num2].GetHashCode();
430 while (
num2 < (nint)
obj.LongLength);
445 if ((nint)num != (nint)y.LongLength)
461 while (
num2 < (nint)x.LongLength);
static string ProfileMaxVertexElements
static string DuplicateVertexElement
unsafe void RecursiveRelease()
Dictionary< BindingNode, bool > indirectOffspring
unsafe void CreateNativeDeclaration(DeclarationBinding.BindingNode node)
DeclarationBinding[] currentDeclarations
DeclarationBinding CreateBinding(VertexDeclaration declaration)
int GetHashCode(VertexElement[] obj)
bool Equals(VertexElement[] x, VertexElement[] y)
unsafe void SetVertexDeclaration(VertexBufferBinding *vertexBuffers, int count)
unsafe void SetNativeDeclaration()
int currentDeclarationCount
void ReleaseAllDeclarations()
DeclarationManager(GraphicsDevice device)
void ReleaseBinding(DeclarationBinding binding)
static unsafe bool IsDuplicateElement(_D3DVERTEXELEMENT9 *elements, int pos)
Dictionary< VertexElement[], DeclarationBinding > bindings
unsafe void SetVertexDeclaration(VertexDeclaration declaration)
unsafe StateTrackerDevice * pStateTracker
ProfileCapabilities _profileCapabilities
unsafe IDirect3DDevice9 * pComPtr
static Exception GetExceptionFromResult(uint result)
void ThrowNotSupportedException(string message)
Enumerator GetEnumerator()
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
bool ICollection< KeyValuePair< TKey, TValue > >. Remove(KeyValuePair< TKey, TValue > keyValuePair)
void Add(TKey key, TValue value)
static CultureInfo CurrentCulture
static unsafe void CopyBlockUnaligned(void *destination, void *source, uint byteCount)
static int GetExceptionCode()
static IntPtr GetExceptionPointers()
static void Exit(object obj)
static void Enter(object obj)
VertexElementUsage VertexElementUsage