vsg 1.1.10
VulkanSceneGraph library
Loading...
Searching...
No Matches
vsg::GeometryInfo Struct Reference

GeometryInfo struct provides geometry related settings supported by Builder. More...

#include <Builder.h>

Collaboration diagram for vsg::GeometryInfo:

Public Member Functions

template<typename T>
 GeometryInfo (const t_box< T > &bb)
template<typename T>
 GeometryInfo (const t_sphere< T > &sp)
template<typename T>
void set (const t_box< T > &bb)
template<typename T>
void set (const t_sphere< T > &sp)
bool operator< (const GeometryInfo &rhs) const

Public Attributes

vec3 position = {0.0f, 0.0f, 0.0f}
vec3 dx = {1.0f, 0.0f, 0.0f}
vec3 dy = {0.0f, 1.0f, 0.0f}
vec3 dz = {0.0f, 0.0f, 1.0f}
vec4 color = {1.0f, 1.0f, 1.0f, 1.0f}
mat4 transform
bool cullNode = false
 cullNode flag indicates whether a CullNode should decorate the creted subgraph
ref_ptr< Datapositions
 when using geometry instancing use vec3Array with vec3{x,y,z} and for billboards use vec4Array with vec4{x,y,z,scaleDistance}
ref_ptr< Datacolors

Detailed Description

GeometryInfo struct provides geometry related settings supported by Builder.


The documentation for this struct was generated from the following file: