![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
定数バッファ(シェーダ) More...
#include <ConstantBuffer.hpp>
Classes | |
struct | WrapperType |
Public Member Functions | |
SIV3D_NODISCARD_CXX20 | ConstantBuffer () |
SIV3D_NODISCARD_CXX20 | ConstantBuffer (const Type &data) |
~ConstantBuffer () | |
ConstantBuffer & | operator= (const Type &data) |
constexpr size_t | size () const noexcept |
const float * | data () const noexcept |
Type & | get () noexcept |
const Type & | get () const noexcept |
bool | isDirty () const noexcept |
bool | _update_if_dirty () |
const ConstantBufferBase & | base () const noexcept |
Type & | operator* () noexcept |
const Type & | operator* () const noexcept |
Type * | operator-> () noexcept |
const Type * | operator-> () const noexcept |
Static Public Attributes | |
static constexpr size_t | _alignment = Max<size_t>(alignof(Type), 16) |
static constexpr size_t | Size = sizeof(WrapperType) |
static constexpr size_t | NumVectors = (Size / 16) |
static constexpr size_t | Alignment = alignof(WrapperType) |
定数バッファ(シェーダ)
Type | 定数バッファ用の型 |
SIV3D_NODISCARD_CXX20 s3d::ConstantBuffer< Type >::ConstantBuffer | ( | ) |
SIV3D_NODISCARD_CXX20 s3d::ConstantBuffer< Type >::ConstantBuffer | ( | const Type & | data | ) |
s3d::ConstantBuffer< Type >::~ConstantBuffer | ( | ) |
bool s3d::ConstantBuffer< Type >::_update_if_dirty | ( | ) |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
ConstantBuffer& s3d::ConstantBuffer< Type >::operator= | ( | const Type & | data | ) |
|
constexprnoexcept |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |