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

#include <slang-cpp-types.h>

类 StructuredBuffer< T > 继承关系图:
Inheritance graph
[图例]

Public 成员函数

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
 

成员函数说明

◆ GetDimensions() [1/2]

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

◆ GetDimensions() [2/2]

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

◆ Load() [1/2]

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

◆ Load() [2/2]

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

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

类成员变量说明

◆ count

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

◆ data

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

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