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

#include <slang-cpp-types-core.h>

Public 成员函数

const T & operator[] (size_t index) const
 
T & operator[] (size_t index)
 
 Vector ()=default
 
 Vector (T scalar)
 
 Vector (T _x, T _y, T _z)
 
template<typename U >
 Vector (Vector< U, 3 > other)
 
template<typename U , int otherSize>
 Vector (Vector< U, otherSize > other)
 

Public 属性

x
 
y
 
z
 

构造及析构函数说明

◆ Vector() [1/5]

template<typename T >
Vector< T, 3 >::Vector ( )
default

◆ Vector() [2/5]

template<typename T >
Vector< T, 3 >::Vector ( T scalar)
inline

◆ Vector() [3/5]

template<typename T >
Vector< T, 3 >::Vector ( T _x,
T _y,
T _z )
inline

◆ Vector() [4/5]

template<typename T >
template<typename U >
Vector< T, 3 >::Vector ( Vector< U, 3 > other)
inline

◆ Vector() [5/5]

template<typename T >
template<typename U , int otherSize>
Vector< T, 3 >::Vector ( Vector< U, otherSize > other)
inline

成员函数说明

◆ operator[]() [1/2]

template<typename T >
T & Vector< T, 3 >::operator[] ( size_t index)
inline

◆ operator[]() [2/2]

template<typename T >
const T & Vector< T, 3 >::operator[] ( size_t index) const
inline

类成员变量说明

◆ x

template<typename T >
T Vector< T, 3 >::x

◆ y

template<typename T >
T Vector< T, 3 >::y

◆ z

template<typename T >
T Vector< T, 3 >::z

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