5 using namespace RenderCore;
20 return col32 =
a << 24 |
b << 16 |
g << 8 |
r;
31 name, RHIDeviceQueueType::Graphics, 0
u,
34 r->BindBackbufferUAV(
self, 0
u);
35 r->BindShader(
self, RHIShaderStageBits::Compute,
"debugText",
"data/shaders/CSDebugText.spv");
45 r->CmdSetPushConstant(
self,
cmd, RHIShaderStageBits::Compute, 0,
line);
Definition Command.hpp:35
Renderer implementing a Frame Graph system with automatic resource tracking and synchronization.
Definition Renderer.hpp:78
std::basic_string_view< char > StringView
Alias for std::basic_string_view<char>
Definition Container.hpp:55
T * Construct(Allocator *resource, Args &&...args)
Convenience placement new with object of type T using a Foundation::Core::Allocator.
Definition Allocator.hpp:149
std::span< T > Span
Alias for std::span
Definition Container.hpp:60
size_t PassHandle
Definition RenderPass.hpp:10
Definition CSClearBuffer.hpp:5
PassHandle createCSDebugTextPassBackBuffer(Renderer *r, StringView name, Span< const CSDebugTextData > lines)
Definition CSDebugText.hpp:28
Definition CSDebugText.hpp:8
int scale
Definition CSDebugText.hpp:9
int SetColor(int r, int g, int b, int a=255)
Definition CSDebugText.hpp:18
int x
Definition CSDebugText.hpp:9
void SetText(StringView str)
Definition CSDebugText.hpp:12
int y
Definition CSDebugText.hpp:9
int col32
Definition CSDebugText.hpp:9
char szText[28 *4]
Definition CSDebugText.hpp:10