Nameless Engine
Loading...
Searching...
No Matches
ne::DirectXResource::DescriptorsSameType Struct Reference

Public Attributes

std::unique_ptr< DirectXDescriptorpResource
 
std::array< std::unique_ptr< DirectXDescriptor >, 6 > vCubemapFaces
 

Detailed Description

Groups descriptors of the same type (only SRVs or DSVs, etc.) that point to different parts of the resource.

Member Data Documentation

◆ pResource

std::unique_ptr<DirectXDescriptor> ne::DirectXResource::DescriptorsSameType::pResource

Descriptor that references the entire resource.

◆ vCubemapFaces

std::array<std::unique_ptr<DirectXDescriptor>, 6> ne::DirectXResource::DescriptorsSameType::vCubemapFaces

If the resource is a cubemap (otherwise descriptors here will be nullptr), descriptors here will reference specific cubemap faces.


The documentation for this struct was generated from the following file: