6 #include <renderservice.h>
unsigned int uint
Definition: numeric.h:23
ECullMode mCullMode
Property: 'CullMode' the cull mode.
Definition: torusmesh.h:49
RenderService * mRenderService
Definition: torusmesh.h:53
@ Static
Buffer data is uploaded only once from the CPU to the GPU.
EPolygonMode
Definition: mesh.h:55
ECullMode
Definition: mesh.h:43
EMemoryUsage
Definition: gpubuffer.h:41
float mAngleOffset
Property: 'AngleOffset' the angle offset in degrees.
Definition: torusmesh.h:46
Definition: errorstate.h:19
std::unique_ptr< MeshInstance > mMeshInstance
Definition: torusmesh.h:54
virtual const MeshInstance & getMeshInstance() const override
Definition: torusmesh.h:40
virtual MeshInstance & getMeshInstance() override
Definition: torusmesh.h:35
float mRadius
Property: 'Radius' torus radius.
Definition: torusmesh.h:42
Definition: renderservice.h:275
RGBAColorFloat mColor
Property: 'Color' Vertex color.
Definition: torusmesh.h:50
@ Back
Cull back facing triangles.
virtual bool init(utility::ErrorState &errorState) override
uint mSegments
Property: 'Segments' number of segments.
Definition: torusmesh.h:44
@ Fill
Polygons are interpreted and rendered using the specified 'EDrawMode'.
uint mTubeSegments
Property: 'TubeSegments' number of tubular segments.
Definition: torusmesh.h:45
bool setup(utility::ErrorState &errorState)
float mTubeRadius
Property: 'Height' tube segment radius.
Definition: torusmesh.h:43
Definition: templateapp.h:17
Definition: torusmesh.h:13
EPolygonMode mPolygonMode
Property: 'PolygonMode' the polygon mode.
Definition: torusmesh.h:48
EMemoryUsage mUsage
Property: 'Usage' If the mesh is uploaded once or frequently updated.
Definition: torusmesh.h:47
TorusMesh(nap::Core &core)