Sets the compression state of a resource.
public:
void SetResourceCompressionStateX(
ID3D12Resource *pResource,
D3D12XBOX_COMPRESSION_STATE_FLAGS CompressionStateFlags,
D3D12_RESOURCE_STATES PreserveFlags
)
pResource
Type: ID3D12Resource *
[in, out] The resource, as a pointer to ID3D12Resource.
CompressionStateFlags
Type: D3D12XBOX_COMPRESSION_STATE_FLAGS
Flags that specify the compression state.
PreserveFlags
Type: D3D12_RESOURCE_STATES
Flags that specify the resource states to be preserved.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.