Exemplo n.º 1
0
        /// <summary>To be documented.</summary>
        public readonly unsafe int GetDebugParameter(DebugDeviceParameterType Type, void *pData, uint DataSize)
        {
            var @this = (ID3D12DebugDevice1 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            ret = ((delegate * unmanaged[Cdecl] < ID3D12DebugDevice1 *, DebugDeviceParameterType, void *, uint, int >)LpVtbl[4])(@this, Type, pData, DataSize);
            return(ret);
        }
Exemplo n.º 2
0
        /// <summary>To be documented.</summary>
        public readonly int GetDebugParameter <T0>(DebugDeviceParameterType Type, ref T0 pData, uint DataSize) where T0 : unmanaged
        {
            var @this = (ID3D12DebugDevice1 *)Unsafe.AsPointer(ref Unsafe.AsRef(in this));
            int ret   = default;

            fixed(T0 *pDataPtr = &pData)
            {
                ret = ((delegate * unmanaged[Cdecl] < ID3D12DebugDevice1 *, DebugDeviceParameterType, T0 *, uint, int >)LpVtbl[4])(@this, Type, pDataPtr, DataSize);
            }

            return(ret);
        }