|
| static Resource * | resolveShaderResource (const char *name, SDL_GPUShaderFormat supported, GPU_ShaderFormat *resolved) |
| | A helper.
|
| |
| static void | dealloc (Object *self) |
| |
| static CommandBuffer * | acquireCommandBuffer (const RenderDevice *self) |
| |
| static CommandBuffer * | beginFrame (RenderDevice *self) |
| |
| static Fence * | endFrameAndFence (RenderDevice *self) |
| |
| static void | endFrame (RenderDevice *self) |
| |
| static Buffer * | createBuffer (RenderDevice *self, const SDL_GPUBufferCreateInfo *info) |
| |
| static Buffer * | createBufferWithConstMem (RenderDevice *self, SDL_GPUBufferUsageFlags usage, const void *mem, Uint32 size) |
| |
| static Buffer * | createBufferWithData (RenderDevice *self, SDL_GPUBufferUsageFlags usage, const Data *data) |
| |
| static ComputePipeline * | createComputePipeline (RenderDevice *self, const SDL_GPUComputePipelineCreateInfo *info) |
| |
| static Framebuffer * | createFramebuffer (RenderDevice *self, const GPU_FramebufferCreateInfo *info) |
| |
| static GraphicsPipeline * | createGraphicsPipeline (RenderDevice *self, const SDL_GPUGraphicsPipelineCreateInfo *info) |
| |
| static QueryPool * | createQueryPool (RenderDevice *self, const SDL_GPUQueryPoolCreateInfo *info) |
| |
| static Sampler * | createSampler (RenderDevice *self, const SDL_GPUSamplerCreateInfo *info) |
| |
| static Sampler * | createSamplerLinearRepeat (RenderDevice *self) |
| |
| static Sampler * | createSamplerLinearClamp (RenderDevice *self) |
| |
| static Sampler * | createSamplerNearestClamp (RenderDevice *self) |
| |
| static Sampler * | createSamplerShadowCompare (RenderDevice *self) |
| |
| static Shader * | createShader (RenderDevice *self, const SDL_GPUShaderCreateInfo *info) |
| |
| static Texture * | createTexture (RenderDevice *self, const SDL_GPUTextureCreateInfo *info, const void *pixels) |
| |
| static TransferBuffer * | createTransferBuffer (RenderDevice *self, const SDL_GPUTransferBufferCreateInfo *info) |
| |
| static Texture * | createTextureFromSurface (RenderDevice *self, SDL_Surface *surface, SDL_GPUTextureUsageFlags usage, bool generateMipmaps) |
| |
| static Texture * | createSolidColorTexture (RenderDevice *self, SDL_GPUTextureType type, Uint32 layerCount, Uint32 rgba) |
| |
| static SDL_GPUTextureFormat | getSwapchainTextureFormat (const RenderDevice *self) |
| |
| static RenderDevice * | init (RenderDevice *self) |
| |
| static RenderDevice * | initWithWindow (RenderDevice *self, SDL_Window *window) |
| |
| static Shader * | loadShader (RenderDevice *self, const char *name, const SDL_GPUShaderCreateInfo *info) |
| |
| static ComputePipeline * | loadComputePipeline (RenderDevice *self, const char *name, const SDL_GPUComputePipelineCreateInfo *info) |
| |
| static GraphicsPipeline * | loadGraphicsPipeline (RenderDevice *self, const char *vertexShaderName, const SDL_GPUShaderCreateInfo *vertexShaderInfo, const char *fragmentShaderName, const SDL_GPUShaderCreateInfo *fragmentShaderInfo, SDL_GPUGraphicsPipelineCreateInfo *info) |
| |
| static bool | setAllowedFramesInFlight (const RenderDevice *self, Uint32 allowed) |
| |
| static void | setFramebuffer (RenderDevice *self, Framebuffer *framebuffer) |
| |
| static bool | setSwapchainParameters (const RenderDevice *self, SDL_GPUSwapchainComposition composition, SDL_GPUPresentMode mode) |
| |
| static void | setWindow (RenderDevice *self, SDL_Window *window) |
| |
| static bool | supportsPresentMode (const RenderDevice *self, SDL_GPUPresentMode mode) |
| |
| static bool | supportsSwapchainComposition (const RenderDevice *self, SDL_GPUSwapchainComposition composition) |
| |
| static bool | textureSupportsFormat (const RenderDevice *self, SDL_GPUTextureFormat format, SDL_GPUTextureType type, SDL_GPUTextureUsageFlags usage) |
| |
| static bool | textureSupportsSampleCount (const RenderDevice *self, SDL_GPUTextureFormat format, SDL_GPUSampleCount sample_count) |
| |
| static bool | waitForIdle (const RenderDevice *self) |
| |
| static bool | waitForSwapchain (const RenderDevice *self) |
| |
| static void | initialize (Class *clazz) |
| |
| Class * | _RenderDevice (void) |
| |