ObjectivelyGPU
Object oriented graphics framework for SDL3 and C
Loading...
Searching...
No Matches
RenderDevice.h File Reference

RenderDevice owns SDL_gpu infrastructure for a window and frame loop. More...

#include <stdlib.h>
#include <SDL3/SDL_gpu.h>
#include <SDL3/SDL_surface.h>
#include <Objectively/Data.h>
#include <Objectively/Object.h>
#include <ObjectivelyGPU/CommandBuffer.h>
#include <ObjectivelyGPU/QueryPool.h>
#include <ObjectivelyGPU/Types.h>

Go to the source code of this file.

Data Structures

struct  RenderDevice
 The RenderDevice encapsulates an SDL_GPUDevice and provides methods for allocating GPU resources, managing compute, copy and render passes, and . More...
 

Typedefs

typedef struct Buffer Buffer
 
typedef struct CommandBuffer CommandBuffer
 
typedef struct ComputePipeline ComputePipeline
 
typedef struct Framebuffer Framebuffer
 
typedef struct GPU_FramebufferCreateInfo GPU_FramebufferCreateInfo
 
typedef struct GraphicsPipeline GraphicsPipeline
 
typedef struct QueryPool QueryPool
 
typedef struct RenderDevice RenderDevice
 
typedef struct Sampler Sampler
 
typedef struct Shader Shader
 
typedef struct Texture Texture
 
typedef struct TransferBuffer TransferBuffer
 

Functions

OBJECTIVELYGPU_EXPORT Class * _RenderDevice (void)
 

Detailed Description

RenderDevice owns SDL_gpu infrastructure for a window and frame loop.

Typedef Documentation

◆ Buffer

typedef struct Buffer Buffer

◆ CommandBuffer

typedef struct CommandBuffer CommandBuffer

◆ ComputePipeline

◆ Framebuffer

typedef struct Framebuffer Framebuffer

◆ GPU_FramebufferCreateInfo

◆ GraphicsPipeline

◆ QueryPool

typedef struct QueryPool QueryPool

◆ RenderDevice

typedef struct RenderDevice RenderDevice

◆ Sampler

typedef struct Sampler Sampler

◆ Shader

typedef struct Shader Shader

◆ Texture

typedef struct Texture Texture

◆ TransferBuffer

Function Documentation

◆ _RenderDevice()

OBJECTIVELYGPU_EXPORT Class * _RenderDevice ( void  )