1、ID3D11Texture2D结构体
ID3D11Texture2D : public ID3D11Resource
{
public:
virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */
__out D3D11_TEXTURE2D_DESC *pDesc) = 0;
};
ID3D11Resource : public ID3D11DeviceChild
{
public:
virtual void STDMETHODCALLTYPE GetType(
/* [annotation] */
__out D3D11_RESOURCE_DIMENSION *pResourceDimension) = 0;
virtual void STDMETHODCALLTYPE SetEvictionPriority(
/* [annotation] */
__in UINT EvictionPriority) = 0;
virtual UINT STDMETHODCALLTYPE GetEvictionPriority( void) = 0;
};
2、ID3D11RenderTargetView结构体-渲染目标视图
ID3D11RenderTargetView : public ID3D11View
{
public:
virtual void STDMETHODCALLTYPE GetDesc(
/* [annotation] */
__out D3D11_RENDER_TARGET_VIEW_DESC *pDesc) = 0;
};
3、 ID3D11DeviceContext 结构体-设备上下文对象
ID3D11DeviceContext : public ID3D11DeviceChild
{
public:
virtual void STDMETHODCALLTYPE VSSetConstantBuffers(
/* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1 ) UINT StartSlot,
/* [annotation] */
__in_range( 0, D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot ) UINT NumBuffers,
/* [annotation] */
4、ID3D11Device结构体-设备对象
ID3D11Device : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE CreateBuffer(
/* [annotation] */
__in const D3D11_BUFFER_DESC *pDesc,
/* [annotation] */
__in_opt const D3D11_SUBRESOURCE_DATA *pInitialData,
/* [annotation] */
__out_opt ID3D11Buffer **ppBuffer) = 0;
virtual HRESULT STDMETHODCALLTYPE CreateTexture1D(
/* [annotation] */
5、IDXGISwapChain结构体-交换链对象
IDXGISwapChain : public IDXGIDeviceSubObject
{
public:
virtual HRESULT STDMETHODCALLTYPE Present(
/* [in] */ UINT SyncInterval,
/* [in] */ UINT Flags) = 0;
virtual HRESULT STDMETHODCALLTYPE GetBuffer(
/* [in] */ UINT Buffer,
/* [annotation][in] */
__in REFIID riid,
IDXGIDeviceSubObject : public IDXGIObject
{
public:
virtual HRESULT STDMETHODCALLTYPE GetDevice(
/* [annotation][in] */
__in REFIID riid,
/* [annotation][retval][out] */
__out void **ppDevice) = 0;
};
IDXGIObject : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE SetPrivateData(
/* [annotation][in] */
__in REFGUID Name,
/* [in] */ UINT DataSize,
/* [annotation][in] */
__in_bcount(DataSize) const void *pData) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPrivateDataInterface(
/* [annotation][in] */
__in REFGUID Name,