Blender V5.3
blender::gpu::MTLPushConstantBuf Class Reference

#include <mtl_push_constant.hh>

Public Member Functions

 MTLPushConstantBuf (const shader::ShaderCreateInfo &info)
 ~MTLPushConstantBuf ()
int append (shader::ShaderCreateInfo::PushConst push_constant)
uint8_t * data ()
const uint8_t * data () const
size_t size () const
bool is_dirty () const
void tag_dirty ()
void tag_updated ()

Detailed Description

Definition at line 21 of file mtl_push_constant.hh.

Constructor & Destructor Documentation

◆ MTLPushConstantBuf()

◆ ~MTLPushConstantBuf()

blender::gpu::MTLPushConstantBuf::~MTLPushConstantBuf ( )

Definition at line 67 of file mtl_push_constant.cc.

Member Function Documentation

◆ append()

◆ data() [1/2]

uint8_t * blender::gpu::MTLPushConstantBuf::data ( )
inline

Definition at line 38 of file mtl_push_constant.hh.

Referenced by blender::gpu::ensure_push_constant().

◆ data() [2/2]

const uint8_t * blender::gpu::MTLPushConstantBuf::data ( ) const
inline

Definition at line 43 of file mtl_push_constant.hh.

◆ is_dirty()

bool blender::gpu::MTLPushConstantBuf::is_dirty ( ) const
inline

◆ size()

size_t blender::gpu::MTLPushConstantBuf::size ( ) const
inline

Definition at line 48 of file mtl_push_constant.hh.

Referenced by blender::gpu::ensure_push_constant().

◆ tag_dirty()

◆ tag_updated()

void blender::gpu::MTLPushConstantBuf::tag_updated ( )
inline

The documentation for this class was generated from the following files: