/// <summary>To be documented.</summary>
        public readonly unsafe ID3D12ShaderReflectionConstantBuffer *GetConstantBufferByIndex(uint Index)
        {
            var @this = (ID3D12ShaderReflection *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            ID3D12ShaderReflectionConstantBuffer *ret = default;

            ret = ((delegate * unmanaged[Cdecl] < ID3D12ShaderReflection *, uint, ID3D12ShaderReflectionConstantBuffer * >)LpVtbl[4])(@this, Index);
            return(ret);
        }
        /// <summary>To be documented.</summary>
        public readonly unsafe ID3D12ShaderReflectionConstantBuffer *GetConstantBufferByName(byte *Name)
        {
            var @this = (ID3D12ShaderReflection *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            ID3D12ShaderReflectionConstantBuffer *ret = default;

            ret = ((delegate * unmanaged[Cdecl] < ID3D12ShaderReflection *, byte *, ID3D12ShaderReflectionConstantBuffer * >)LpVtbl[5])(@this, Name);
            return(ret);
        }
Exemple #3
0
        /// <summary>To be documented.</summary>
        public readonly unsafe ID3D12ShaderReflectionConstantBuffer *GetBuffer()
        {
            var @this = (ID3D12ShaderReflectionVariable *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            ID3D12ShaderReflectionConstantBuffer *ret = default;

            ret = ((delegate * unmanaged[Cdecl] < ID3D12ShaderReflectionVariable *, ID3D12ShaderReflectionConstantBuffer * >)LpVtbl[2])(@this);
            return(ret);
        }
        /// <summary>To be documented.</summary>
        public readonly unsafe ID3D12ShaderReflectionConstantBuffer *GetConstantBufferByName(string Name)
        {
            var @this = (ID3D12ShaderReflection *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            ID3D12ShaderReflectionConstantBuffer *ret = default;
            var NamePtr = (byte *)Marshal.StringToHGlobalAnsi(Name);

            ret = ((delegate * unmanaged[Cdecl] < ID3D12ShaderReflection *, byte *, ID3D12ShaderReflectionConstantBuffer * >)LpVtbl[5])(@this, NamePtr);
            Marshal.FreeHGlobal((nint)NamePtr);
            return(ret);
        }