|
Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
|
Classes | |
| struct | DebugVertex |
| struct | DrawCall |
Public Member Functions | |
| void | Initialize () |
| void | Clear () |
| void | BuildVertexBuffers () |
| virtual Grindstone::Renderer::RenderGraphBuilderResourceRef | DrawRenderPass (Grindstone::Renderer::RenderGraphBuilder &rgBuilder, Grindstone::Renderer::RenderGraphBuilderResourceRef colorRef, Grindstone::Renderer::RenderGraphBuilderResourceRef depthRef) |
| virtual void | depthMask (bool state) override |
| virtual void | texture (bool state) override |
| virtual void | begin (duDebugDrawPrimitives prim, float size=1.0f) override |
| virtual void | vertex (const float *pos, unsigned int color) override |
| virtual void | vertex (const float x, const float y, const float z, unsigned int color) override |
| virtual void | vertex (const float *pos, unsigned int color, const float *uv) override |
| virtual void | vertex (const float x, const float y, const float z, unsigned int color, const float u, const float v) override |
| virtual void | end () override |
| End drawing primitives. | |
| virtual unsigned int | areaToCol (unsigned int area) override |
| Compute a color for given area. | |
Protected Attributes | |
| Grindstone::AssetReference< Grindstone::GraphicsPipelineAsset > | navmeshPipelineSet |
| Grindstone::GraphicsAPI::DescriptorSet * | navmeshDescriptorSet = nullptr |
| Grindstone::GraphicsAPI::Buffer * | vertexBuffer = nullptr |
| Grindstone::GraphicsAPI::VertexInputLayout | vertexLayout |
| std::vector< DebugVertex > | vertices |
| std::vector< DrawCall > | drawCalls |
| DrawCall * | currentCall = nullptr |
| bool | isDepthTestEnabled = true |
| bool | isTextured = false |
|
overridevirtual |
Begin drawing primitives.
| prim | [in] primitive type to draw, one of rcDebugDrawPrimitives. |
| size | [in] size of a primitive, applies to point size and line width only. |
|
overridevirtual |
Submit a vertex
| pos | [in] position of the verts. |
| color | [in] color of the verts. |
|
overridevirtual |
Submit a vertex
| pos | [in] position of the verts. |
| color | [in] color of the verts. |
| uv | [in] the uv coordinates of the verts. |
|
overridevirtual |
Submit a vertex
| x,y,z | [in] position of the verts. |
| color | [in] color of the verts. |
|
overridevirtual |
Submit a vertex
| x,y,z | [in] position of the verts. |
| color | [in] color of the verts. |
| u,v | [in] the uv coordinates of the verts. |