This commit is contained in:
2026-02-13 08:24:03 -06:00
parent ec8a9c9f4f
commit f9f311c82b
12 changed files with 569 additions and 56 deletions

View File

@@ -26,18 +26,18 @@ namespace Archimedes {
virtual Shader createShader(const std::string& vs, const std::string& fs, const Shader::LoadType& lt) = 0;
virtual RenderTarget* createRenderTarget(
const void* data,
size_t size,
unsigned int* indices,
size_t count,
VertexLayout layout,
const std::string& vs,
const std::string& fs,
const Shader::LoadType& lt
virtual void useShader(Shader& shader) = 0;
virtual RenderTarget createRenderTarget(
VertexBuffer vb,
IndexArray ia,
VertexLayout layout,
Shader& s
) = 0;
virtual void useRenderTarget(RenderTarget& rt) = 0;
virtual void draw(const RenderTarget*) = 0;
virtual void draw(const RenderTarget&) = 0;
virtual Renderer* getRendererImpl() = 0;