[]
ID3D11DeviceContext1
[Guid("bb2c6faa-b5fb-4082-8e6b-388b8cfa90e1")]
public class DeviceContext1 : DeviceContext, IDisposable, IUnknown
Initializes a new instance of the DeviceContext1 class.
public DeviceContext1(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
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)
viewRef
ResourceViewcolor
floatrectRef
RectL[]numRects
intvoid 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)
dstResourceRef
ResourcedstSubresource
intdstX
intdstY
intdstZ
intsrcResourceRef
ResourcesrcSubresource
intsrcBoxRef
ResourceRegion?copyFlags
intInitializes a new deferred context instance of DeviceContext1 class.
public static DeviceContext1 Create(Device1 device)
device
Device1void 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)
startSlot
intnumBuffers
intconstantBuffersOut
Buffer[]firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
ComArray<Buffer>firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
Buffer[]firstConstantRef
int[]numConstantsRef
int[]void ID3D11DeviceContext1::DiscardResource([In] ID3D11Resource* pResource)
public void DiscardResource(Resource resourceRef)
resourceRef
Resourcevoid ID3D11DeviceContext1::DiscardView([In] ID3D11View* pResourceView)
public void DiscardView(ResourceView resourceViewRef)
resourceViewRef
ResourceViewvoid ID3D11DeviceContext1::DiscardView1([In] ID3D11View* pResourceView,[In, Buffer, Optional] const RECT* pRects,[In] unsigned int NumRects)
public void DiscardView1(ResourceView resourceViewRef, RectL[] rectsRef, int numRects)
resourceViewRef
ResourceViewrectsRef
RectL[]numRects
intvoid 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)
startSlot
intnumBuffers
intconstantBuffersOut
Buffer[]firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
ComArray<Buffer>firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
Buffer[]firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
Buffer[]firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
ComArray<Buffer>firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
Buffer[]firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
Buffer[]firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
ComArray<Buffer>firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
Buffer[]firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
Buffer[]firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
ComArray<Buffer>firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
Buffer[]firstConstantRef
int[]numConstantsRef
int[]void ID3D11DeviceContext1::SwapDeviceContextState([In] ID3DDeviceContextState* pState,[Out, Optional] ID3DDeviceContextState** ppPreviousState)
public DeviceContextState SwapDeviceContextState(DeviceContextState stateRef)
stateRef
DeviceContextStatevoid 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)
dstResourceRef
ResourcedstSubresource
intdstBoxRef
ResourceRegion?srcDataRef
System.IntPtrsrcRowPitch
intsrcDepthPitch
intcopyFlags
intvoid 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)
startSlot
intnumBuffers
intconstantBuffersOut
Buffer[]firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
ComArray<Buffer>firstConstantRef
int[]numConstantsRef
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)
startSlot
intnumBuffers
intconstantBuffersOut
Buffer[]firstConstantRef
int[]numConstantsRef
int[]Performs an explicit conversion from System.IntPtr to DeviceContext1.
public static explicit operator DeviceContext1(IntPtr nativePointer)
nativePointer
System.IntPtr