slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
RWStructuredBuffer< T > 模板结构体 参考

#include <slang-cpp-types.h>

类 RWStructuredBuffer< T > 继承关系图:
Inheritance graph
[图例]
RWStructuredBuffer< T > 的协作图:
Collaboration graph
[图例]

Public 成员函数

SLANG_FORCE_INLINE T & operator[] (size_t index) const
 
const T & Load (size_t index) const
 
void GetDimensions (uint32_t *outNumStructs, uint32_t *outStride)
 
SLANG_CUDA_CALL T & operator[] (size_t index) const
 
- Public 成员函数 继承自 StructuredBuffer< T >
SLANG_FORCE_INLINE T & operator[] (size_t index) const
 
T & Load (size_t index) const
 
void GetDimensions (uint32_t *outNumStructs, uint32_t *outStride)
 
SLANG_CUDA_CALL T & operator[] (size_t index) const
 
SLANG_CUDA_CALL T & Load (size_t index) const
 
SLANG_CUDA_CALL void GetDimensions (uint32_t *outNumStructs, uint32_t *outStride) const
 

Public 属性

T * data
 
size_t count
 
- Public 属性 继承自 StructuredBuffer< T >
T * data
 
size_t count
 

成员函数说明

◆ GetDimensions()

template<typename T >
void RWStructuredBuffer< T >::GetDimensions ( uint32_t * outNumStructs,
uint32_t * outStride )
inline

◆ Load()

template<typename T >
const T & RWStructuredBuffer< T >::Load ( size_t index) const
inline

◆ operator[]() [1/2]

template<typename T >
SLANG_FORCE_INLINE T & RWStructuredBuffer< T >::operator[] ( size_t index) const
inline

◆ operator[]() [2/2]

template<typename T >
SLANG_CUDA_CALL T & RWStructuredBuffer< T >::operator[] ( size_t index) const
inline

类成员变量说明

◆ count

template<typename T >
size_t RWStructuredBuffer< T >::count

◆ data

template<typename T >
T* RWStructuredBuffer< T >::data

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