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 }
Im3d::Id depthLayerId
byte * vertexPtr
Math::vec2 viewPortPosition { 0.0f, 0.0f }
Math::vec2 viewPortSize { 1.0f, 1.0f }

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

◆ 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

◆ viewPortPosition

Math::vec2 Im3d::Im3dState::viewPortPosition { 0.0f, 0.0f }

◆ viewPortSize

Math::vec2 Im3d::Im3dState::viewPortSize { 1.0f, 1.0f }

◆ vlo

CoreGraphics::VertexLayoutId Im3d::Im3dState::vlo

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