Nebula
Loading...
Searching...
No Matches
geometryhelpers.h
Go to the documentation of this file.
1#pragma once
2//------------------------------------------------------------------------------
9//------------------------------------------------------------------------------
10#include "coregraphics/buffer.h"
13namespace RenderUtil
14{
15
23
25{
26public:
30 static CoreGraphics::MeshId CreateDisk(SizeT numPoints);
31};
32
33} // namespace RenderUtil
Defines a group of primitives as a subset of a vertex buffer and index buffer plus the primitive topo...
Definition primitivegroup.h:20
Code
enumeration
Definition primitivetopology.h:23
Definition geometryhelpers.h:25
static CoreGraphics::MeshId CreateRectangle()
Create rectangle.
Definition geometryhelpers.cc:13
static CoreGraphics::MeshId CreateDisk(SizeT numPoints)
Create circle (disk) with a set amount of points.
Definition geometryhelpers.cc:74
Helpers to create geometry.
Definition drawfullscreenquad.cc:10
Definition buffer.h:23
Definition mesh.h:29
Definition geometryhelpers.h:17
CoreGraphics::PrimitiveTopology::Code topology
Definition geometryhelpers.h:21
CoreGraphics::PrimitiveGroup primitiveGroup
Definition geometryhelpers.h:20
CoreGraphics::BufferId vertexBuffer
Definition geometryhelpers.h:18
CoreGraphics::BufferId indexBuffer
Definition geometryhelpers.h:19
int SizeT
Definition types.h:49