创建CD3DX12_VIEWPORT的未初始化的新实例。 explicit CD3DX12_VIEWPORT (const D3D12_VIEWPORT& o) 创建CD3DX12_VIEWPORT的新实例,初始化以下参数: const D3D12_VIEWPORT& o explicit CD3DX12_VIEWPORT (FLOAT topLeftX、FLOAT topLeftY、FLOAT width、FLOAT height、FLOAT minDepth = D3D12_MIN_DEPTH、FLOAT maxDe...
帮助程序结构,用于轻松初始化 D3D12_VIEWPORT 结构。 语法 C++ 复制 struct CD3DX12_VIEWPORT : public D3D12_VIEWPORT{ CD3DX12_VIEWPORT(); explicit CD3DX12_VIEWPORT(const D3D12_VIEWPORT& o); explicit CD3DX12_VIEWPORT(FLOAT topLeftX, FLOAT topLeftY, FLOAT width, FLOAT height, FLOAT minDepth = D3...
CD3DX12_VIEWPORT() Creates a new, uninitialized, instance of a CD3DX12_VIEWPORT. explicit CD3DX12_VIEWPORT(const D3D12_VIEWPORT& o) Creates a new instance of a CD3DX12_VIEWPORT, initializing the following parameters: const D3D12_VIEWPORT& o ...
協助程序結構,可讓您輕鬆初始化 D3D12_VIEWPORT 結構。語法C++ 複製 struct CD3DX12_VIEWPORT : public D3D12_VIEWPORT{ CD3DX12_VIEWPORT(); explicit CD3DX12_VIEWPORT(const D3D12_VIEWPORT& o); explicit CD3DX12_VIEWPORT(FLOAT topLeftX, FLOAT topLeftY, FLOAT width, FLOAT height, FLOAT minDepth = ...
帮助程序结构,用于轻松初始化 D3D12_VIEWPORT 结构。语法C++ 复制 struct CD3DX12_VIEWPORT : public D3D12_VIEWPORT{ CD3DX12_VIEWPORT(); explicit CD3DX12_VIEWPORT(const D3D12_VIEWPORT& o); explicit CD3DX12_VIEWPORT(FLOAT topLeftX, FLOAT topLeftY, FLOAT width, FLOAT height, FLOAT minDepth = D3D...
explicit CD3DX12_VIEWPORT(ID3D12Resource* pResource, UINT mipSlice = 0, FLOAT topLeftX = 0.0f, FLOAT topLeftY = 0.0f, FLOAT minDepth = D3D12_MIN_DEPTH, FLOAT maxDepth = D3D12_MAX_DEPTH) Creates a new instance of a CD3DX12_VIEWPORT, initializing the following parameters: ...
FLOAT maxDepth = D3D12_MAX_DEPTH); explicit CD3DX12_VIEWPORT(ID3D12Resource* pResource, UINT mipSlice = 0, FLOAT topLeftX = 0.0f, FLOAT topLeftY = 0.0f, FLOAT minDepth = D3D12_MIN_DEPTH, FLOAT maxDepth = D3D12_MAX_DEPTH); ~CD3DX12_VIEWPORT(); operator const D3D12_VIEWPORT&() ...
A helper structure to enable easy initialization of a D3D12_VIEWPORT structure. Syntax C++ Copy struct CD3DX12_VIEWPORT : public D3D12_VIEWPORT{ CD3DX12_VIEWPORT(); explicit CD3DX12_VIEWPORT(const D3D12_VIEWPORT& o); explicit CD3DX12_VIEWPORT(FLOAT topLeftX, FLOAT topLeftY, FLOAT width, FLOA...
FLOAT maxDepth = D3D12_MAX_DEPTH); explicit CD3DX12_VIEWPORT(ID3D12Resource* pResource, UINT mipSlice = 0, FLOAT topLeftX = 0.0f, FLOAT topLeftY = 0.0f, FLOAT minDepth = D3D12_MIN_DEPTH, FLOAT maxDepth = D3D12_MAX_DEPTH); ~CD3DX12_VIEWPORT(); operator const D3D12_VIEWPORT&() ...