Nebula
Loading...
Searching...
No Matches
Im3d::Im3dState Struct Reference

Public Attributes

CoreGraphics::ShaderId im3dShader
 
CoreGraphics::ShaderProgramId lines
 
CoreGraphics::ShaderProgramId depthLines
 
CoreGraphics::ShaderProgramId points
 
CoreGraphics::ShaderProgramId triangles
 
CoreGraphics::ShaderProgramId depthTriangles
 
CoreGraphics::PipelineId linesPipeline
 
CoreGraphics::PipelineId depthLinesPipeline
 
CoreGraphics::PipelineId pointsPipeline
 
CoreGraphics::PipelineId trianglesPipeline
 
CoreGraphics::PipelineId depthTrianglesPipeline
 
CoreGraphics::BufferId vbo
 
CoreGraphics::VertexLayoutId vlo
 
bool renderGrid = false
 
int gridSize = 20
 
float cellSize = 1.0f
 
Math::vec4 gridColor { 1.0f,1.0f,1.0f,0.3f }
 
Math::vec2 gridOffset { 0, 0 }
 
Ptr< Im3dInputHandlerinputHandler
 
Im3d::Id depthLayerId
 
byte * vertexPtr
 

Member Data Documentation

◆ cellSize

float Im3d::Im3dState::cellSize = 1.0f

◆ depthLayerId

Im3d::Id Im3d::Im3dState::depthLayerId

◆ depthLines

CoreGraphics::ShaderProgramId Im3d::Im3dState::depthLines

◆ depthLinesPipeline

CoreGraphics::PipelineId Im3d::Im3dState::depthLinesPipeline

◆ depthTriangles

CoreGraphics::ShaderProgramId Im3d::Im3dState::depthTriangles

◆ depthTrianglesPipeline

CoreGraphics::PipelineId Im3d::Im3dState::depthTrianglesPipeline

◆ gridColor

Math::vec4 Im3d::Im3dState::gridColor { 1.0f,1.0f,1.0f,0.3f }

◆ gridOffset

Math::vec2 Im3d::Im3dState::gridOffset { 0, 0 }

◆ gridSize

int Im3d::Im3dState::gridSize = 20

◆ im3dShader

CoreGraphics::ShaderId Im3d::Im3dState::im3dShader

◆ inputHandler

Ptr<Im3dInputHandler> Im3d::Im3dState::inputHandler

◆ lines

CoreGraphics::ShaderProgramId Im3d::Im3dState::lines

◆ linesPipeline

CoreGraphics::PipelineId Im3d::Im3dState::linesPipeline

◆ points

CoreGraphics::ShaderProgramId Im3d::Im3dState::points

◆ pointsPipeline

CoreGraphics::PipelineId Im3d::Im3dState::pointsPipeline

◆ renderGrid

bool Im3d::Im3dState::renderGrid = false

◆ triangles

CoreGraphics::ShaderProgramId Im3d::Im3dState::triangles

◆ trianglesPipeline

CoreGraphics::PipelineId Im3d::Im3dState::trianglesPipeline

◆ vbo

CoreGraphics::BufferId Im3d::Im3dState::vbo

◆ vertexPtr

byte* Im3d::Im3dState::vertexPtr

◆ vlo

CoreGraphics::VertexLayoutId Im3d::Im3dState::vlo

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