26#include <SDL3/SDL_gpu.h>
28#include <Objectively/Object.h>
39typedef struct ShaderInterface ShaderInterface;
94struct ShaderInterface {
99 ObjectInterface objectInterface;
OBJECTIVELYGPU_EXPORT Class * _Shader(void)
Definition Shader.c:89
#define OBJECTIVELYGPU_EXPORT
Definition Types.h:35
The RenderDevice encapsulates an SDL_GPUDevice and provides methods for allocating GPU resources,...
Definition RenderDevice.h:63
An SDL_GPUShader: one compiled programmable stage of a graphics pipeline.
Definition Shader.h:51
ident data
User data.
Definition Shader.h:88
SDL_GPUShaderStage stage
The shader stage (vertex or fragment).
Definition Shader.h:83
ShaderInterface * interface
The interface.
Definition Shader.h:62
SDL_GPUShader * shader
The underlying SDL shader.
Definition Shader.h:73
SDL_GPUShaderFormat format
The shader format.
Definition Shader.h:78
Object object
The superclass.
Definition Shader.h:56