PrimitiveShape class
Derived classes
- class CircleShape
- class ConeShape
- class CubeShape
- class CylinderShape
- class HemiSphereShape
- class PipeShape
- class QuadShape
- class SphereShape
Constructors, destructors, conversion operators
- ~PrimitiveShape() virtual
- PrimitiveShape(PrimitiveShapeFormat, PrimitiveTopology) protected
Public functions
- auto GetIndexBuffer() const -> void*
- auto GetVertexBuffer() const -> void*
-
auto GetStride() const -> size_
t -
auto GetVertexBufferSize() const -> size_
t -
auto GetIndexBufferSize() const -> size_
t - auto GetVertexFormat() const -> PrimitiveShapeFormat
- auto GetPrimitiveTopology() const -> PrimitiveTopology
-
auto GetIndexBufferAlignment() const -> size_
t - auto GetIndexBufferFormat() const -> IndexFormat
- auto GetVertexCount() const -> int
- auto GetIndexCount() const -> int
-
void Calculate(void*,
size_
t, void*, size_ t)
Protected functions
-
void CalculateImpl(void*,
size_
t, void*, size_ t) pure virtual - void SetVertexBuffer(void*)
- void SetIndexBuffer(void*)
-
void SetVertexBufferSize(size_
t) -
void SetIndexBufferSize(size_
t) - void SetVertexCount(int)
- void SetIndexCount(int)