29 #include "DeviceObject.h" 35 static constexpr INTERFACE_ID IID_TextureView =
36 { 0x5b2ea04e, 0x8128, 0x45e4, { 0xaa, 0x4d, 0x6d, 0xc7, 0xe7, 0xd, 0xc4, 0x24 } };
167 virtual void QueryInterface(
const Diligent::INTERFACE_ID &IID, IObject **ppInterface ) = 0;
TEXTURE_FORMAT
Texture formats.
Definition: GraphicsTypes.h:244
RESOURCE_DIMENSION TextureDim
View interpretation of the original texture. For instance, one slice of a 2D texture array can be vie...
Definition: TextureView.h:65
TEXTURE_VIEW_TYPE
Texture view type.
Definition: GraphicsTypes.h:190
virtual void GenerateMips(IDeviceContext *pContext)=0
Generates a mipmap chain.
Base interface for all objects created by the render device Diligent::IRenderDevice.
Definition: DeviceObject.h:40
Unknown format.
Definition: GraphicsTypes.h:247
Allow read operations on the UAV.
Definition: TextureView.h:45
Allow read and write operations on the UAV.
Definition: TextureView.h:51
Namespace for the OpenGL implementation of the graphics engine.
Definition: BufferD3D11Impl.h:34
Uint32 FirstDepthSlice
For a 3D texture, first depth slice to address the view.
Definition: TextureView.h:87
UAV_ACCESS_FLAG
Describes allowed unordered access view mode.
Definition: TextureView.h:39
Undefined view type.
Definition: GraphicsTypes.h:193
Uint32 MostDetailedMip
Most detailed mip level to use.
Definition: TextureView.h:72
TextureViewDesc()
Initializes the structure members with default values.
Definition: TextureView.h:119
Device context interface.
Definition: DeviceContext.h:443
Access mode is unspecified.
Definition: TextureView.h:42
Texture view interface.
Definition: TextureView.h:163
Texture view description.
Definition: TextureView.h:55
TEXTURE_VIEW_TYPE ViewType
Describes the texture view type, see Diligent::TEXTURE_VIEW_TYPE for details.
Definition: TextureView.h:58
virtual const TextureViewDesc & GetDesc() const =0
Returns the texture view description used to create the object.
RESOURCE_DIMENSION
Describes resource dimension.
Definition: GraphicsTypes.h:172
virtual ISampler * GetSampler()=0
Returns the pointer to the sampler object set by the ITextureView::SetSampler().
Describes common device object attributes.
Definition: GraphicsTypes.h:900
Uint32 NumMipLevels
Total number of mip levels for the view of the texture. Render target and depth stencil views can add...
Definition: TextureView.h:79
bool operator==(const TextureViewDesc &RHS) const
Tests if two structures are equivalent.
Definition: TextureView.h:137
Texture sampler interface.
Definition: Sampler.h:180
virtual class ITexture * GetTexture()=0
Returns the pointer to the referenced texture object.
Texture type undefined.
Definition: GraphicsTypes.h:174
Uint32 NumArraySlices
For a texture array, number of array slices to address in the view. Set to 0 to address all array sli...
Definition: TextureView.h:94
TEXTURE_FORMAT Format
View format. If default value Diligent::TEX_FORMAT_UNKNOWN is provided, the view format will match th...
Definition: TextureView.h:69
Allow write operations on the UAV.
Definition: TextureView.h:48
virtual void SetSampler(class ISampler *pSampler)=0
Sets the texture sampler to use for filtering operations when accessing a texture from shaders...
Uint32 AccessFlags
For an unordered access view, allowed access flags. See Diligent::UAV_ACCESS_FLAG for details...
Definition: TextureView.h:103
virtual void QueryInterface(const Diligent::INTERFACE_ID &IID, IObject **ppInterface)=0
Queries the specific interface, see IObject::QueryInterface() for details.
Uint32 NumDepthSlices
For a 3D texture, number of depth slices to address in the view Set to 0 to address all depth slices...
Definition: TextureView.h:98
Texture inteface.
Definition: Texture.h:276
Uint32 FirstArraySlice
For a texture array, first array slice to address in the view.
Definition: TextureView.h:84