Example #1
0
        /// <summary>To be documented.</summary>
        public readonly unsafe ID3D11ShaderReflectionConstantBuffer *GetBuffer()
        {
            var @this = (ID3D11ShaderReflectionVariable *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            ID3D11ShaderReflectionConstantBuffer *ret = default;

            ret = ((delegate * unmanaged[Cdecl] < ID3D11ShaderReflectionVariable *, ID3D11ShaderReflectionConstantBuffer * >)LpVtbl[2])(@this);
            return(ret);
        }
Example #2
0
        /// <summary>To be documented.</summary>
        public readonly unsafe ID3D11ShaderReflectionConstantBuffer *GetConstantBufferByName(byte *Name)
        {
            var @this = (ID3D11FunctionReflection *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            ID3D11ShaderReflectionConstantBuffer *ret = default;

            ret = ((delegate * unmanaged[Cdecl] < ID3D11FunctionReflection *, byte *, ID3D11ShaderReflectionConstantBuffer * >)LpVtbl[2])(@this, Name);
            return(ret);
        }
Example #3
0
        /// <summary>To be documented.</summary>
        public readonly unsafe ID3D11ShaderReflectionConstantBuffer *GetConstantBufferByIndex(uint BufferIndex)
        {
            var @this = (ID3D11FunctionReflection *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            ID3D11ShaderReflectionConstantBuffer *ret = default;

            ret = ((delegate * unmanaged[Cdecl] < ID3D11FunctionReflection *, uint, ID3D11ShaderReflectionConstantBuffer * >)LpVtbl[1])(@this, BufferIndex);
            return(ret);
        }
Example #4
0
        /// <summary>To be documented.</summary>
        public readonly unsafe ID3D11ShaderReflectionConstantBuffer *GetConstantBufferByName(string Name)
        {
            var @this = (ID3D11FunctionReflection *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            ID3D11ShaderReflectionConstantBuffer *ret = default;
            var NamePtr = (byte *)Marshal.StringToHGlobalAnsi(Name);

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