|
candlewick 0.10.0-4-g76c0
A tiny cross-platform renderer based on SDL3
|
Functions | |
| GraphicsPipeline | createFrustumDebugPipeline (const RenderContext &renderer) |
| void | renderFrustum (CommandBuffer &cmdBuf, SDL_GPURenderPass *render_pass, const Camera &mainCamera, const Camera &otherCam, const Float4 &color=0x40FF00CC_rgbaf) |
| void | renderAABB (CommandBuffer &cmdBuf, SDL_GPURenderPass *render_pass, const Camera &camera, const AABB &aabb, const Float4 &color=0x00BFFFff_rgbaf) |
| void | renderOBB (CommandBuffer &cmdBuf, SDL_GPURenderPass *render_pass, const Camera &camera, const coal::OBB &obb, const Float4 &color=0x00BFFFff_rgbaf) |
| void | renderFrustum (CommandBuffer &cmdBuf, SDL_GPURenderPass *render_pass, const Mat4f &invProj, const Mat4f &mvp, const Float3 eyePos, const Float4 &color) |
| GraphicsPipeline candlewick::frustum_debug::createFrustumDebugPipeline | ( | const RenderContext & | renderer | ) |
| void candlewick::frustum_debug::renderAABB | ( | CommandBuffer & | cmdBuf, |
| SDL_GPURenderPass * | render_pass, | ||
| const Camera & | camera, | ||
| const AABB & | aabb, | ||
| const Float4 & | color = 0x00BFFFff_rgbaf ) |
| void candlewick::frustum_debug::renderFrustum | ( | CommandBuffer & | cmdBuf, |
| SDL_GPURenderPass * | render_pass, | ||
| const Camera & | mainCamera, | ||
| const Camera & | otherCam, | ||
| const Float4 & | color = 0x40FF00CC_rgbaf ) |
| void candlewick::frustum_debug::renderFrustum | ( | CommandBuffer & | cmdBuf, |
| SDL_GPURenderPass * | render_pass, | ||
| const Mat4f & | invProj, | ||
| const Mat4f & | mvp, | ||
| const Float3 | eyePos, | ||
| const Float4 & | color ) |
| void candlewick::frustum_debug::renderOBB | ( | CommandBuffer & | cmdBuf, |
| SDL_GPURenderPass * | render_pass, | ||
| const Camera & | camera, | ||
| const coal::OBB & | obb, | ||
| const Float4 & | color = 0x00BFFFff_rgbaf ) |