예제 #1
0
        public VideoDecoderExtension
        (
            uint?function                   = null,
            void *pPrivateInputData         = null,
            uint?privateInputDataSize       = null,
            void *pPrivateOutputData        = null,
            uint?privateOutputDataSize      = null,
            uint?resourceCount              = null,
            ID3D11Resource **ppResourceList = null
        ) : this()
        {
            if (function is not null)
            {
                Function = function.Value;
            }

            if (pPrivateInputData is not null)
            {
                PPrivateInputData = pPrivateInputData;
            }

            if (privateInputDataSize is not null)
            {
                PrivateInputDataSize = privateInputDataSize.Value;
            }

            if (pPrivateOutputData is not null)
            {
                PPrivateOutputData = pPrivateOutputData;
            }

            if (privateOutputDataSize is not null)
            {
                PrivateOutputDataSize = privateOutputDataSize.Value;
            }

            if (resourceCount is not null)
            {
                ResourceCount = resourceCount.Value;
            }

            if (ppResourceList is not null)
            {
                PpResourceList = ppResourceList;
            }
        }
 public void GetResource(ID3D11Resource **ppResource)
 {
     ((delegate * unmanaged <ID3D11ShaderResourceView *, ID3D11Resource **, void>)(lpVtbl[7]))((ID3D11ShaderResourceView *)Unsafe.AsPointer(ref this), ppResource);
 }
예제 #3
0
 public void GetResource([NativeTypeName("ID3D11Resource **")] ID3D11Resource **ppResource)
 {
     ((delegate * unmanaged <ID3D11RenderTargetView *, ID3D11Resource **, void>)(lpVtbl[7]))((ID3D11RenderTargetView *)Unsafe.AsPointer(ref this), ppResource);
 }
 public void AcquireWrappedResources([NativeTypeName("ID3D11Resource *const *")] ID3D11Resource **ppResources, [NativeTypeName("UINT")] uint NumResources)
 {
     ((delegate * stdcall <ID3D11On12Device1 *, ID3D11Resource **, uint, void>)(lpVtbl[5]))((ID3D11On12Device1 *)Unsafe.AsPointer(ref this), ppResources, NumResources);
 }
예제 #5
0
 public void ReleaseWrappedResources([NativeTypeName("ID3D11Resource *const *")] ID3D11Resource **ppResources, [NativeTypeName("UINT")] uint NumResources)
 {
     ((delegate * unmanaged <ID3D11On12Device2 *, ID3D11Resource **, uint, void>)(lpVtbl[4]))((ID3D11On12Device2 *)Unsafe.AsPointer(ref this), ppResources, NumResources);
 }
 public void GetResource([NativeTypeName("ID3D11Resource **")] ID3D11Resource **ppResource)
 {
     ((delegate * stdcall <ID3D11VideoDecoderOutputView *, ID3D11Resource **, void>)(lpVtbl[7]))((ID3D11VideoDecoderOutputView *)Unsafe.AsPointer(ref this), ppResource);
 }
 public void GetResource(ID3D11Resource **ppResource)
 {
     ((delegate * unmanaged <ID3D11UnorderedAccessView1 *, ID3D11Resource **, void>)(lpVtbl[7]))((ID3D11UnorderedAccessView1 *)Unsafe.AsPointer(ref this), ppResource);
 }
예제 #8
0
 public void GetResource([NativeTypeName("ID3D11Resource **")] ID3D11Resource **ppResource)
 {
     ((delegate * stdcall <ID3D11ShaderResourceView1 *, ID3D11Resource **, void>)(lpVtbl[7]))((ID3D11ShaderResourceView1 *)Unsafe.AsPointer(ref this), ppResource);
 }
 public void GetResource(ID3D11Resource **ppResource)
 {
     ((delegate * unmanaged <ID3D11VideoProcessorOutputView *, ID3D11Resource **, void>)(lpVtbl[7]))((ID3D11VideoProcessorOutputView *)Unsafe.AsPointer(ref this), ppResource);
 }