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

Classes

struct  castor3d::shader::ObjectIds
 
struct  castor3d::shader::ObjectsIds
 

Espaces de nommage

namespace  castor3d
 
namespace  castor3d::shader
 

Macros

#define C3D_ObjectIdsData(writer, flags, binding, set)
 

Fonctions

template<ast::var::Flag FlagT>
static sdw::UInt castor3d::shader::getNodeId (sdw::Array< shader::ObjectsIds > const &data, shader::VertexSurfaceT< FlagT > const &surface, sdw::UInt pipelineID, sdw::UInt drawID, PipelineFlags const &flags)
 
C3D_API sdw::UInt castor3d::shader::getNodeId (sdw::Array< shader::ObjectsIds > const &data, sdw::UInt pipelineID, sdw::UInt drawID)
 
sdw::UInt castor3d::shader::getNodeId (sdw::Array< shader::ObjectsIds > const &data, sdw::Array< sdw::UVec4 > const &instances, sdw::UInt pipelineID, sdw::UInt drawID, PipelineFlags const &flags)
 

Documentation des macros

◆ C3D_ObjectIdsData

#define C3D_ObjectIdsData (   writer,
  flags,
  binding,
  set 
)
Valeur :
sdw::StorageBuffer objectIdsDataBuffer{ writer\
, "C3D_ObjectsIds"\
, "c3d_objectsIds"\
, uint32_t( binding )\
, uint32_t( set )\
, ast::type::MemoryLayout::eStd430\
, !flags.enableInstantiation() };\
auto c3d_objectIdsData = objectIdsDataBuffer.declMemberArray< castor3d::shader::ObjectsIds >( "d"\
, !flags.enableInstantiation() );\
objectIdsDataBuffer.end()
Definition: ObjectIdsUbo.hpp:40