Resource manager create info. More...
#include <GLTFResourceManager.hpp>
Public Attributes | |
| BufferSuballocatorCreateInfo | IndexAllocatorCI |
| Index buffer suballocator create info. | |
| BufferSuballocatorCreateInfo | MorphTargetAllocatorCI |
| const VertexPoolCreateInfo * | pVertexPoolCIs = nullptr |
| A pointer to an array of NumVertexPools vertex pool create infos. | |
| const DynamicTextureAtlasCreateInfo * | pTexAtlasCIs = nullptr |
| A pointer to an array of NumTexAtlases texture atlas create infos. | |
| Uint32 | NumVertexPools = 0 |
| The number of elements in pVertexPoolCIs array. | |
| Uint32 | NumTexAtlases = 0 |
| The number of elements in pTexAtlasCIs array. | |
| Uint32 | NumTextureAllocationShards = 1 |
| DynamicTextureAtlasCreateInfo | DefaultAtlasDesc |
| Uint64 | DefaultAtlasMipLevel0Size = 0 |
| DefaultVertexPoolDesc | DefaultPoolDesc |
Resource manager create info.
| DynamicTextureAtlasCreateInfo Diligent::GLTF::ResourceManager::CreateInfo::DefaultAtlasDesc |
Default texture atlas description that is used to create texture atlas not explicitly specified in pTexAtlasCIs. If DefaultAtlasDesc.Desc.Type is Diligent::RESOURCE_DIM_UNDEFINED, additional atlases will not be created.
| Uint64 Diligent::GLTF::ResourceManager::CreateInfo::DefaultAtlasMipLevel0Size = 0 |
Maximum size, in bytes, of mip level 0 of one default texture atlas slice. When non-zero, both default atlas dimensions are repeatedly halved for each format until the slice fits, without reducing either dimension below 16. The minimum dimensions take precedence if the size limit is too small. Zero preserves the default atlas description. Explicit atlases are unaffected.
| DefaultVertexPoolDesc Diligent::GLTF::ResourceManager::CreateInfo::DefaultPoolDesc |
Default vertex pool description that is used to create vertex pools not explicitly specified in pVertexPoolCIs. If DefaultPoolDesc.VertexCount is 0, additional pools will not be created.
| BufferSuballocatorCreateInfo Diligent::GLTF::ResourceManager::CreateInfo::MorphTargetAllocatorCI |
Morph-target buffer suballocator create info.
If Desc.Size is zero, morph-target buffer allocation is disabled.
| Uint32 Diligent::GLTF::ResourceManager::CreateInfo::NumTextureAllocationShards = 1 |
The number of shards in texture allocation map. Shards are used to reduce contention when allocating texture space and finding texture allocations by cache ID from multiple threads simultaneously. The more shards, the less contention, but the more memory is used by the map.