Castor3D  0.11.0
Multiplatform 3D engine
Classes | Espaces de nommage | Macros | Fonctions
Référence du fichier ModelInstancesUbo.hpp

Classes

class  castor3d::ModelInstancesUbo
 

Espaces de nommage

 castor3d
 

Macros

#define UBO_MODEL_INSTANCES(writer, binding, set)
 

Fonctions

void castor3d::cpuUpdate (UniformBufferOffsetT< ModelInstancesUboConfiguration > &buffer, UInt32Array const &instances)
 

Documentation des macros

◆ UBO_MODEL_INSTANCES

#define UBO_MODEL_INSTANCES (   writer,
  binding,
  set 
)
Valeur :
sdw::Ubo modelInstances{ writer\
, binding\
, set };\
auto c3d_instances = modelInstances.declMember< sdw::UVec4 >( castor3d::ModelInstancesUbo::Instances, 7u );\
auto c3d_instanceCount = modelInstances.declMember< sdw::UInt >( castor3d::ModelInstancesUbo::InstanceCount );\
modelInstances.end()
static C3D_API castor::String const Instances
Definition: ModelInstancesUbo.hpp:92
static C3D_API castor::String const BufferModelInstances
Definition: ModelInstancesUbo.hpp:91
static C3D_API castor::String const InstanceCount
Definition: ModelInstancesUbo.hpp:93