slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
Public 属性 | 所有成员列表
gfx::IBufferResource::Desc结构体 参考

#include <slang-gfx.h>

类 gfx::IBufferResource::Desc 继承关系图:
Inheritance graph
[图例]
gfx::IBufferResource::Desc 的协作图:
Collaboration graph
[图例]

Public 属性

Size sizeInBytes = 0
 Total size in bytes
 
Size elementSize = 0
 Get the element stride. If > 0, this is a structured buffer
 
Format format = Format::Unknown
 
- Public 属性 继承自 gfx::IResource::DescBase
Type type = Type::Unknown
 
ResourceState defaultState = ResourceState::Undefined
 
ResourceStateSet allowedStates = ResourceStateSet()
 
MemoryType memoryType = MemoryType::DeviceLocal
 
InteropHandle existingHandle = {}
 
bool isShared = false
 

类成员变量说明

◆ elementSize

Size gfx::IBufferResource::Desc::elementSize = 0

Get the element stride. If > 0, this is a structured buffer

◆ format

Format gfx::IBufferResource::Desc::format = Format::Unknown

◆ sizeInBytes

Size gfx::IBufferResource::Desc::sizeInBytes = 0

Total size in bytes


该结构体的文档由以下文件生成: