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

#include <slang-cpp-types.h>

Public 成员函数

SLANG_FORCE_INLINE const T & operator[] (size_t index) const
 
const T & Load (size_t index) const
 
void GetDimensions (uint32_t *outCount)
 

Public 属性

T * data
 
size_t count
 

成员函数说明

◆ GetDimensions()

template<typename T >
void Buffer< T >::GetDimensions ( uint32_t * outCount)
inline

◆ Load()

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

◆ operator[]()

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

类成员变量说明

◆ count

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

◆ data

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

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