Base interface for a reference counter object that stores the number of strong and weak references an...
Definition: ReferenceCounters.h:44
Texture view object implementation in Direct3D12 backend.
Definition: TextureViewD3D12Impl.hpp:41
D3D12_CPU_DESCRIPTOR_HANDLE GetMipLevelUAV(Uint32 Mip)
Definition: TextureViewD3D12Impl.hpp:64
Uint32 NumMipLevels
Total number of mip levels for the view of the texture. Render target and depth stencil views can add...
Definition: TextureView.h:104
TextureViewD3D12Impl(IReferenceCounters *pRefCounters, RenderDeviceD3D12Impl *pDevice, const TextureViewDesc &ViewDesc, ITexture *pTexture, DescriptorHeapAllocation &&Descriptor, DescriptorHeapAllocation &&TexArraySRVDescriptor, DescriptorHeapAllocation &&MipLevelUAVDescriptors, bool bIsDefaultView)
Definition: TextureViewD3D12Impl.cpp:37
TextureViewDesc m_Desc
Object description.
Definition: DeviceObjectBase.hpp:182
virtual D3D12_CPU_DESCRIPTOR_HANDLE GetCPUDescriptorHandle() override final
Implementation of ITextureViewD3D12::GetCPUDescriptorHandle().
Definition: TextureViewD3D12Impl.hpp:59
D3D12_CPU_DESCRIPTOR_HANDLE GetTexArraySRV()
Definition: TextureViewD3D12Impl.hpp:70
Render device implementation in Direct3D12 backend.
Definition: RenderDeviceD3D12Impl.hpp:70
~TextureViewD3D12Impl()
Definition: TextureViewD3D12Impl.cpp:65
DescriptorHeapAllocation * m_MipGenerationDescriptors
Definition: TextureViewD3D12Impl.hpp:83
#define IMPLEMENT_QUERY_INTERFACE_IN_PLACE(InterfaceID, ParentClassName)
Definition: ObjectBase.hpp:59
TEXTURE_VIEW_FLAGS Flags
Texture view flags, see Diligent::TEXTURE_VIEW_FLAGS.
Definition: TextureView.h:131
DescriptorHeapAllocation m_Descriptor
D3D12 view descriptor handle.
Definition: TextureViewD3D12Impl.hpp:78
Template class implementing base functionality of the texture view interface.
Definition: TextureViewBase.hpp:45
#define DILIGENT_CALL_TYPE
Definition: CommonDefinitions.h:45
uint32_t Uint32
32-bit unsigned integer
Definition: BasicTypes.h:51
@ TEXTURE_VIEW_FLAG_ALLOW_MIP_MAP_GENERATION
Allow automatic mipmap generation for this view. This flag is only allowed for TEXTURE_VIEW_SHADER_RE...
Definition: TextureView.h:74
D3D12_CPU_DESCRIPTOR_HANDLE GetCpuHandle(Uint32 Offset=0) const
Definition: DescriptorHeap.hpp:162
#define VERIFY_EXPR(...)
Definition: DebugUtilities.hpp:79
Texture view description.
Definition: TextureView.h:80
Definition: DescriptorHeap.hpp:67
Texture inteface.
Definition: Texture.h:273
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37