26#include <SDL3/SDL_gpu.h>
28#include <Objectively/Object.h>
39typedef struct ShaderInterface ShaderInterface;
95struct ShaderInterface {
100 ObjectInterface objectInterface;
OBJECTIVELYGPU_EXPORT Class * _Shader(void)
Definition Shader.c:88
#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:89
SDL_GPUShaderStage stage
The shader stage (vertex or fragment).
Definition Shader.h:84
ShaderInterface * interface[0]
The interface type.
Definition Shader.h:62
SDL_GPUShader * shader
The underlying SDL shader.
Definition Shader.h:74
SDL_GPUShaderFormat format
The shader format.
Definition Shader.h:79
Object object
The superclass.
Definition Shader.h:56