[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.Direct3D11.DeviceContext1

Class DeviceContext1

Namespace
GrapeCity.Documents.DX.Direct3D11
Assembly
GcDocs.DX.Windows.dll

ID3D11DeviceContext1

[Guid("bb2c6faa-b5fb-4082-8e6b-388b8cfa90e1")]
public class DeviceContext1 : DeviceContext, IDisposable, IUnknown
Inheritance
object
DeviceContext1
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

DeviceContext1(IntPtr)

Initializes a new instance of the DeviceContext1 class.

public DeviceContext1(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

ClearView(ResourceView, float, RectL[], int)

void ID3D11DeviceContext1::ClearView([In] ID3D11View* pView,[In] const float* Color,[In, Buffer, Optional] const RECT* pRect,[In] unsigned int NumRects)

public void ClearView(ResourceView viewRef, float color, RectL[] rectRef, int numRects)

Parameters

viewRef ResourceView
color float
rectRef RectL[]
numRects int

CopySubresourceRegion1(Resource, int, int, int, int, Resource, int, ResourceRegion?, int)

void ID3D11DeviceContext1::CopySubresourceRegion1([In] ID3D11Resource* pDstResource,[In] unsigned int DstSubresource,[In] unsigned int DstX,[In] unsigned int DstY,[In] unsigned int DstZ,[In] ID3D11Resource* pSrcResource,[In] unsigned int SrcSubresource,[In, Optional] const D3D11_BOX* pSrcBox,[In] unsigned int CopyFlags)

public void CopySubresourceRegion1(Resource dstResourceRef, int dstSubresource, int dstX, int dstY, int dstZ, Resource srcResourceRef, int srcSubresource, ResourceRegion? srcBoxRef, int copyFlags)

Parameters

dstResourceRef Resource
dstSubresource int
dstX int
dstY int
dstZ int
srcResourceRef Resource
srcSubresource int
srcBoxRef ResourceRegion?
copyFlags int

Create(Device1)

Initializes a new deferred context instance of DeviceContext1 class.

public static DeviceContext1 Create(Device1 device)

Parameters

device Device1

Returns

DeviceContext1

CSGetConstantBuffers1(int, int, Buffer[], int[], int[])

void ID3D11DeviceContext1::CSGetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppConstantBuffers,[Out, Buffer, Optional] unsigned int* pFirstConstant,[Out, Buffer, Optional] unsigned int* pNumConstants)

public void CSGetConstantBuffers1(int startSlot, int numBuffers, Buffer[] constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut Buffer[]
firstConstantRef int[]
numConstantsRef int[]

CSSetConstantBuffers1(int, int, ComArray<Buffer>, int[], int[])

void ID3D11DeviceContext1::CSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants)

public void CSSetConstantBuffers1(int startSlot, int numBuffers, ComArray<Buffer> constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut ComArray<Buffer>
firstConstantRef int[]
numConstantsRef int[]

CSSetConstantBuffers1(int, int, Buffer[], int[], int[])

void ID3D11DeviceContext1::CSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants)

public void CSSetConstantBuffers1(int startSlot, int numBuffers, Buffer[] constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut Buffer[]
firstConstantRef int[]
numConstantsRef int[]

DiscardResource(Resource)

void ID3D11DeviceContext1::DiscardResource([In] ID3D11Resource* pResource)

public void DiscardResource(Resource resourceRef)

Parameters

resourceRef Resource

DiscardView(ResourceView)

void ID3D11DeviceContext1::DiscardView([In] ID3D11View* pResourceView)

public void DiscardView(ResourceView resourceViewRef)

Parameters

resourceViewRef ResourceView

DiscardView1(ResourceView, RectL[], int)

void ID3D11DeviceContext1::DiscardView1([In] ID3D11View* pResourceView,[In, Buffer, Optional] const RECT* pRects,[In] unsigned int NumRects)

public void DiscardView1(ResourceView resourceViewRef, RectL[] rectsRef, int numRects)

Parameters

resourceViewRef ResourceView
rectsRef RectL[]
numRects int

DSGetConstantBuffers1(int, int, Buffer[], int[], int[])

void ID3D11DeviceContext1::DSGetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppConstantBuffers,[Out, Buffer, Optional] unsigned int* pFirstConstant,[Out, Buffer, Optional] unsigned int* pNumConstants)

public void DSGetConstantBuffers1(int startSlot, int numBuffers, Buffer[] constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut Buffer[]
firstConstantRef int[]
numConstantsRef int[]

DSSetConstantBuffers1(int, int, ComArray<Buffer>, int[], int[])

void ID3D11DeviceContext1::DSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants)

public void DSSetConstantBuffers1(int startSlot, int numBuffers, ComArray<Buffer> constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut ComArray<Buffer>
firstConstantRef int[]
numConstantsRef int[]

DSSetConstantBuffers1(int, int, Buffer[], int[], int[])

void ID3D11DeviceContext1::DSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants)

public void DSSetConstantBuffers1(int startSlot, int numBuffers, Buffer[] constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut Buffer[]
firstConstantRef int[]
numConstantsRef int[]

GSGetConstantBuffers1(int, int, Buffer[], int[], int[])

void ID3D11DeviceContext1::GSGetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppConstantBuffers,[Out, Buffer, Optional] unsigned int* pFirstConstant,[Out, Buffer, Optional] unsigned int* pNumConstants)

public void GSGetConstantBuffers1(int startSlot, int numBuffers, Buffer[] constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut Buffer[]
firstConstantRef int[]
numConstantsRef int[]

GSSetConstantBuffers1(int, int, ComArray<Buffer>, int[], int[])

void ID3D11DeviceContext1::GSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants)

public void GSSetConstantBuffers1(int startSlot, int numBuffers, ComArray<Buffer> constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut ComArray<Buffer>
firstConstantRef int[]
numConstantsRef int[]

GSSetConstantBuffers1(int, int, Buffer[], int[], int[])

void ID3D11DeviceContext1::GSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants)

public void GSSetConstantBuffers1(int startSlot, int numBuffers, Buffer[] constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut Buffer[]
firstConstantRef int[]
numConstantsRef int[]

HSGetConstantBuffers1(int, int, Buffer[], int[], int[])

void ID3D11DeviceContext1::HSGetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppConstantBuffers,[Out, Buffer, Optional] unsigned int* pFirstConstant,[Out, Buffer, Optional] unsigned int* pNumConstants)

public void HSGetConstantBuffers1(int startSlot, int numBuffers, Buffer[] constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut Buffer[]
firstConstantRef int[]
numConstantsRef int[]

HSSetConstantBuffers1(int, int, ComArray<Buffer>, int[], int[])

void ID3D11DeviceContext1::HSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants)

public void HSSetConstantBuffers1(int startSlot, int numBuffers, ComArray<Buffer> constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut ComArray<Buffer>
firstConstantRef int[]
numConstantsRef int[]

HSSetConstantBuffers1(int, int, Buffer[], int[], int[])

void ID3D11DeviceContext1::HSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants)

public void HSSetConstantBuffers1(int startSlot, int numBuffers, Buffer[] constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut Buffer[]
firstConstantRef int[]
numConstantsRef int[]

PSGetConstantBuffers1(int, int, Buffer[], int[], int[])

void ID3D11DeviceContext1::PSGetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppConstantBuffers,[Out, Buffer, Optional] unsigned int* pFirstConstant,[Out, Buffer, Optional] unsigned int* pNumConstants)

public void PSGetConstantBuffers1(int startSlot, int numBuffers, Buffer[] constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut Buffer[]
firstConstantRef int[]
numConstantsRef int[]

PSSetConstantBuffers1(int, int, ComArray<Buffer>, int[], int[])

void ID3D11DeviceContext1::PSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants)

public void PSSetConstantBuffers1(int startSlot, int numBuffers, ComArray<Buffer> constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut ComArray<Buffer>
firstConstantRef int[]
numConstantsRef int[]

PSSetConstantBuffers1(int, int, Buffer[], int[], int[])

void ID3D11DeviceContext1::PSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants)

public void PSSetConstantBuffers1(int startSlot, int numBuffers, Buffer[] constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut Buffer[]
firstConstantRef int[]
numConstantsRef int[]

SwapDeviceContextState(DeviceContextState)

void ID3D11DeviceContext1::SwapDeviceContextState([In] ID3DDeviceContextState* pState,[Out, Optional] ID3DDeviceContextState** ppPreviousState)

public DeviceContextState SwapDeviceContextState(DeviceContextState stateRef)

Parameters

stateRef DeviceContextState

Returns

DeviceContextState

UpdateSubresource1(Resource, int, ResourceRegion?, IntPtr, int, int, int)

void ID3D11DeviceContext1::UpdateSubresource1([In] ID3D11Resource* pDstResource,[In] unsigned int DstSubresource,[In, Optional] const D3D11_BOX* pDstBox,[In] const void* pSrcData,[In] unsigned int SrcRowPitch,[In] unsigned int SrcDepthPitch,[In] unsigned int CopyFlags)

public void UpdateSubresource1(Resource dstResourceRef, int dstSubresource, ResourceRegion? dstBoxRef, IntPtr srcDataRef, int srcRowPitch, int srcDepthPitch, int copyFlags)

Parameters

dstResourceRef Resource
dstSubresource int
dstBoxRef ResourceRegion?
srcDataRef System.IntPtr
srcRowPitch int
srcDepthPitch int
copyFlags int

VSGetConstantBuffers1(int, int, Buffer[], int[], int[])

void ID3D11DeviceContext1::VSGetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[Out, Buffer, Optional] ID3D11Buffer** ppConstantBuffers,[Out, Buffer, Optional] unsigned int* pFirstConstant,[Out, Buffer, Optional] unsigned int* pNumConstants)

public void VSGetConstantBuffers1(int startSlot, int numBuffers, Buffer[] constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut Buffer[]
firstConstantRef int[]
numConstantsRef int[]

VSSetConstantBuffers1(int, int, ComArray<Buffer>, int[], int[])

void ID3D11DeviceContext1::VSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants)

public void VSSetConstantBuffers1(int startSlot, int numBuffers, ComArray<Buffer> constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut ComArray<Buffer>
firstConstantRef int[]
numConstantsRef int[]

VSSetConstantBuffers1(int, int, Buffer[], int[], int[])

void ID3D11DeviceContext1::VSSetConstantBuffers1([In] unsigned int StartSlot,[In] unsigned int NumBuffers,[In, Buffer, Optional] const ID3D11Buffer** ppConstantBuffers,[In, Buffer, Optional] const unsigned int* pFirstConstant,[In, Buffer, Optional] const unsigned int* pNumConstants)

public void VSSetConstantBuffers1(int startSlot, int numBuffers, Buffer[] constantBuffersOut, int[] firstConstantRef, int[] numConstantsRef)

Parameters

startSlot int
numBuffers int
constantBuffersOut Buffer[]
firstConstantRef int[]
numConstantsRef int[]

Operators

explicit operator DeviceContext1(IntPtr)

Performs an explicit conversion from System.IntPtr to DeviceContext1.

public static explicit operator DeviceContext1(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

DeviceContext1