Usable Engine
This commit is contained in:
@ -24,6 +24,9 @@ namespace ia::iae
|
||||
class Renderer
|
||||
{
|
||||
public:
|
||||
STATIC CONSTEXPR FLOAT32 MIN_DEPTH = -2097152.0f;
|
||||
STATIC CONSTEXPR FLOAT32 MAX_DEPTH = 2097152.0f;
|
||||
|
||||
struct Geometry
|
||||
{
|
||||
INT32 IndexCount{};
|
||||
@ -41,16 +44,16 @@ namespace ia::iae
|
||||
Vec2 TextureOffset{0.0f, 0.0f};
|
||||
SDL_Rect Scissor{0, 0, 0, 0};
|
||||
SDL_GPUTexture* ActiveTexture{nullptr};
|
||||
SDL_GPUViewport ActiveViewport{};
|
||||
|
||||
Mat4 ModelMatrix{1.0f};
|
||||
Mat4 ProjectionMatrix{1.0f};
|
||||
|
||||
SDL_GPURenderPass* ActiveRenderPass{};
|
||||
SDL_GPUCommandBuffer* ActiveCommandBuffer{};
|
||||
SDL_GPUColorTargetInfo ColorTargetInfo{};
|
||||
SDL_GPUDepthStencilTargetInfo DepthStencilTargetInfo{};
|
||||
|
||||
class ICameraComponent *ActiveCamera{};
|
||||
class CameraComponent *ActiveCamera{};
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user