|
Unravel Engine C++ Reference
|
Classes | |
| struct | MatrixStack |
| struct | State |
Public Member Functions | |
| DebugDrawEncoderImpl () | |
| void | init (bgfx::Encoder *_encoder) |
| void | shutdown () |
| void | begin (bgfx::ViewId _viewId, bool _depthTestLess, bgfx::Encoder *_encoder) |
| void | end () |
| void | push () |
| void | pop () |
| void | setDepthTestLess (bool _depthTestLess) |
| void | setTransform (const void *_mtx, uint16_t _num=1, bool _flush=true) |
| void | setTranslate (float _x, float _y, float _z) |
| void | setTranslate (const float *_pos) |
| void | pushTransform (const void *_mtx, uint16_t _num, bool _flush=true) |
| void | popTransform (bool _flush=true) |
| void | pushProgram (bgfx::ProgramHandle _handle) |
| void | popProgram () |
| void | pushTranslate (float _x, float _y, float _z) |
| void | pushTranslate (const bx::Vec3 &_pos) |
| void | setState (bool _depthTest, bool _depthWrite, bool _clockwise, bool _alphaWrite, bool _alphaBlend) |
| void | setColor (uint32_t _abgr) |
| void | setLod (uint8_t _lod) |
| void | setWireframe (bool _wireframe) |
| void | setStipple (bool _stipple, float _scale=1.0f, float _offset=0.0f) |
| void | setSpin (float _spin) |
| void | moveTo (float _x, float _y, float _z=0.0f) |
| void | moveTo (const bx::Vec3 &_pos) |
| void | moveTo (Axis::Enum _axis, float _x, float _y) |
| void | lineTo (float _x, float _y, float _z=0.0f) |
| void | lineTo (const bx::Vec3 &_pos) |
| void | lineTo (Axis::Enum _axis, float _x, float _y) |
| void | close () |
| void | draw (const bx::Aabb &_aabb) |
| void | draw (const bx::Cylinder &_cylinder, bool _capsule) |
| void | draw (const bx::Disk &_disk) |
| void | draw (const bx::Obb &_obb) |
| void | draw (const bx::Sphere &_sphere) |
| void | draw (const bx::Triangle &_triangle) |
| void | setUParams (const Attrib &_attrib, bool _wireframe) |
| void | draw (GeometryHandle _handle) |
| void | draw (bool _lineList, uint32_t _numVertices, const DdVertex *_vertices, uint32_t _numIndices, const uint16_t *_indices) |
| void | drawFrustum (const float *_viewProj) |
| void | drawFrustum (const void *_viewProj) |
| void | drawArc (Axis::Enum _axis, float _x, float _y, float _z, float _radius, float _degrees) |
| void | drawCircle (const bx::Vec3 &_normal, const bx::Vec3 &_center, float _radius, float _weight) |
| void | drawCircle (Axis::Enum _axis, float _x, float _y, float _z, float _radius, float _weight) |
| void | drawQuad (const bx::Vec3 &_normal, const bx::Vec3 &_center, float _size) |
| void | drawQuad (SpriteHandle _handle, const bx::Vec3 &_normal, const bx::Vec3 &_center, float _size) |
| void | drawQuad (bgfx::TextureHandle _handle, const bx::Vec3 &_normal, const bx::Vec3 &_center, float _size) |
| void | drawCone (const bx::Vec3 &_from, const bx::Vec3 &_to, float _radius) |
| void | drawCylinder (const bx::Vec3 &_from, const bx::Vec3 &_to, float _radius, bool _capsule) |
| void | drawAxis (float _x, float _y, float _z, float _len, Axis::Enum _highlight, float _thickness) |
| void | drawGrid (const bx::Vec3 &_normal, const bx::Vec3 &_center, uint32_t _size, float _step) |
| void | drawGrid (Axis::Enum _axis, const bx::Vec3 &_center, uint32_t _size, float _step) |
| void | drawOrb (float _x, float _y, float _z, float _radius, Axis::Enum _hightlight) |
| void | draw (DebugMesh::Enum _mesh, const float *_mtx, uint16_t _num, bool _wireframe) |
| void | softFlush () |
| void | flush () |
| void | flushQuad () |
Public Attributes | |
| DebugVertex | m_cache [kCacheSize+1] |
| DebugUvVertex | m_cacheQuad [kCacheQuadSize] |
| uint16_t | m_indices [kCacheSize *2] |
| uint16_t | m_pos |
| uint16_t | m_posQuad |
| uint16_t | m_indexPos |
| uint16_t | m_vertexPos |
| uint32_t | m_mtxStackCurrent |
| MatrixStack | m_mtxStack [32] |
| int8_t | m_programStackCurrent |
| bgfx::ProgramHandle | m_programStack [32] |
| bgfx::ViewId | m_viewId |
| uint8_t | m_stack |
| bool | m_depthTestLess |
| Attrib | m_attrib [kStackSize] |
| State::Enum | m_state |
| bgfx::Encoder * | m_encoder |
| bgfx::Encoder * | m_defaultEncoder |
Static Public Attributes | |
| static const uint32_t | kCacheSize = 1024 |
| static const uint32_t | kStackSize = 16 |
| static const uint32_t | kCacheQuadSize = 1024 |
Definition at line 976 of file debugdraw.cpp.
|
inline |
Definition at line 978 of file debugdraw.cpp.
|
inline |
Definition at line 995 of file debugdraw.cpp.
|
inline |
Definition at line 1346 of file debugdraw.cpp.
|
inline |
Definition at line 1554 of file debugdraw.cpp.
|
inline |
Definition at line 1355 of file debugdraw.cpp.
|
inline |
Definition at line 1392 of file debugdraw.cpp.
|
inline |
Definition at line 1397 of file debugdraw.cpp.
|
inline |
Definition at line 1402 of file debugdraw.cpp.
|
inline |
Definition at line 1441 of file debugdraw.cpp.
|
inline |
Definition at line 1459 of file debugdraw.cpp.
|
inline |
Definition at line 2109 of file debugdraw.cpp.
|
inline |
Definition at line 1529 of file debugdraw.cpp.
|
inline |
Definition at line 1655 of file debugdraw.cpp.
|
inline |
Definition at line 1971 of file debugdraw.cpp.
|
inline |
Definition at line 1722 of file debugdraw.cpp.
|
inline |
Definition at line 1684 of file debugdraw.cpp.
|
inline |
Definition at line 1920 of file debugdraw.cpp.
|
inline |
Definition at line 1938 of file debugdraw.cpp.
|
inline |
Definition at line 1609 of file debugdraw.cpp.
|
inline |
Definition at line 1650 of file debugdraw.cpp.
|
inline |
Definition at line 2055 of file debugdraw.cpp.
|
inline |
Definition at line 2017 of file debugdraw.cpp.
|
inline |
Definition at line 2093 of file debugdraw.cpp.
|
inline |
Definition at line 1849 of file debugdraw.cpp.
|
inline |
Definition at line 1753 of file debugdraw.cpp.
|
inline |
Definition at line 1785 of file debugdraw.cpp.
|
inline |
Definition at line 1033 of file debugdraw.cpp.
|
inline |
Definition at line 2140 of file debugdraw.cpp.
|
inline |
Definition at line 2172 of file debugdraw.cpp.
|
inline |
Definition at line 985 of file debugdraw.cpp.
|
inline |
Definition at line 1341 of file debugdraw.cpp.
|
inline |
Definition at line 1335 of file debugdraw.cpp.
|
inline |
Definition at line 1281 of file debugdraw.cpp.
|
inline |
Definition at line 1276 of file debugdraw.cpp.
|
inline |
Definition at line 1270 of file debugdraw.cpp.
|
inline |
Definition at line 1250 of file debugdraw.cpp.
|
inline |
Definition at line 1051 of file debugdraw.cpp.
|
inline |
Definition at line 1166 of file debugdraw.cpp.
|
inline |
Definition at line 1145 of file debugdraw.cpp.
|
inline |
Definition at line 1044 of file debugdraw.cpp.
|
inline |
Definition at line 1157 of file debugdraw.cpp.
|
inline |
Definition at line 1114 of file debugdraw.cpp.
|
inline |
Definition at line 1181 of file debugdraw.cpp.
|
inline |
Definition at line 1174 of file debugdraw.cpp.
|
inline |
Definition at line 1210 of file debugdraw.cpp.
|
inline |
Definition at line 1063 of file debugdraw.cpp.
|
inline |
Definition at line 1216 of file debugdraw.cpp.
|
inline |
Definition at line 1244 of file debugdraw.cpp.
|
inline |
Definition at line 1186 of file debugdraw.cpp.
|
inline |
Definition at line 1228 of file debugdraw.cpp.
|
inline |
Definition at line 1079 of file debugdraw.cpp.
|
inline |
Definition at line 1109 of file debugdraw.cpp.
|
inline |
Definition at line 1102 of file debugdraw.cpp.
|
inline |
Definition at line 1482 of file debugdraw.cpp.
|
inline |
Definition at line 1222 of file debugdraw.cpp.
|
inline |
Definition at line 991 of file debugdraw.cpp.
|
inline |
Definition at line 2132 of file debugdraw.cpp.
|
static |
Definition at line 2234 of file debugdraw.cpp.
|
static |
Definition at line 2232 of file debugdraw.cpp.
|
static |
Definition at line 2233 of file debugdraw.cpp.
| Attrib DebugDrawEncoderImpl::m_attrib[kStackSize] |
Definition at line 2269 of file debugdraw.cpp.
| DebugVertex DebugDrawEncoderImpl::m_cache[kCacheSize+1] |
Definition at line 2237 of file debugdraw.cpp.
| DebugUvVertex DebugDrawEncoderImpl::m_cacheQuad[kCacheQuadSize] |
Definition at line 2238 of file debugdraw.cpp.
| bgfx::Encoder* DebugDrawEncoderImpl::m_defaultEncoder |
Definition at line 2274 of file debugdraw.cpp.
| bool DebugDrawEncoderImpl::m_depthTestLess |
Definition at line 2267 of file debugdraw.cpp.
| bgfx::Encoder* DebugDrawEncoderImpl::m_encoder |
Definition at line 2273 of file debugdraw.cpp.
| uint16_t DebugDrawEncoderImpl::m_indexPos |
Definition at line 2242 of file debugdraw.cpp.
| uint16_t DebugDrawEncoderImpl::m_indices[kCacheSize *2] |
Definition at line 2239 of file debugdraw.cpp.
| MatrixStack DebugDrawEncoderImpl::m_mtxStack[32] |
Definition at line 2260 of file debugdraw.cpp.
| uint32_t DebugDrawEncoderImpl::m_mtxStackCurrent |
Definition at line 2244 of file debugdraw.cpp.
| uint16_t DebugDrawEncoderImpl::m_pos |
Definition at line 2240 of file debugdraw.cpp.
| uint16_t DebugDrawEncoderImpl::m_posQuad |
Definition at line 2241 of file debugdraw.cpp.
| bgfx::ProgramHandle DebugDrawEncoderImpl::m_programStack[32] |
Definition at line 2263 of file debugdraw.cpp.
| int8_t DebugDrawEncoderImpl::m_programStackCurrent |
Definition at line 2262 of file debugdraw.cpp.
| uint8_t DebugDrawEncoderImpl::m_stack |
Definition at line 2266 of file debugdraw.cpp.
| State::Enum DebugDrawEncoderImpl::m_state |
Definition at line 2271 of file debugdraw.cpp.
| uint16_t DebugDrawEncoderImpl::m_vertexPos |
Definition at line 2243 of file debugdraw.cpp.
| bgfx::ViewId DebugDrawEncoderImpl::m_viewId |
Definition at line 2265 of file debugdraw.cpp.