|
slot 0.0.1
A real time UI render framework
|
#include <slang-gfx.h>


Public 属性 | |
| Extents | size |
| GfxCount | arraySize = 0 |
| Array size | |
| GfxCount | numMipLevels = 0 |
| Number of mip levels - if 0 will create all mip levels | |
| Format | format |
| The resources format | |
| SampleDesc | sampleDesc |
| How the resource is sampled | |
| ClearValue * | optimalClearValue = nullptr |
Public 属性 继承自 gfx::IResource::DescBase | |
| Type | type = Type::Unknown |
| ResourceState | defaultState = ResourceState::Undefined |
| ResourceStateSet | allowedStates = ResourceStateSet() |
| MemoryType | memoryType = MemoryType::DeviceLocal |
| InteropHandle | existingHandle = {} |
| bool | isShared = false |
| Format gfx::ITextureResource::Desc::format |
The resources format
| GfxCount gfx::ITextureResource::Desc::numMipLevels = 0 |
Number of mip levels - if 0 will create all mip levels
| ClearValue* gfx::ITextureResource::Desc::optimalClearValue = nullptr |
| SampleDesc gfx::ITextureResource::Desc::sampleDesc |
How the resource is sampled
| Extents gfx::ITextureResource::Desc::size |