33 #ifndef H_DC_BACKENDS_NORENDER_INCLUDED
34 #define H_DC_BACKENDS_NORENDER_INCLUDED
36 #include <Dynacoe/Backends/Renderer/Renderer.h>
39 class NoRenderer :
public Renderer {
41 std::string Name(){
return "NoRenderer";}
42 std::string Version(){
return "v1.0";}
47 const uint32_t * indices,
51 uint32_t Add2DObject();
52 void Remove2DObject(uint32_t);
53 uint32_t Add2DVertex();
54 void Remove2DVertex(uint32_t
object);
55 void Set2DVertex(uint32_t vertex, Vertex2D);
56 Vertex2D Get2DVertex(uint32_t vertex);
57 void Set2DObjectParameters(uint32_t
object, Render2DObjectParameters);
58 void Render2DVertices(
const Render2DStaticParameters &);
61 void RenderStatic(StaticState *){}
62 void ClearRenderedData(){}
63 RenderBufferID GetStaticViewingMatrixID(){
return RenderBufferID();}
64 RenderBufferID GetStaticProjectionMatrixID(){
return RenderBufferID();}
66 int AddTexture(
int,
int,
const uint8_t*){
return 0;}
67 void UpdateTexture(
int,
const uint8_t *){}
68 void RemoveTexture(
int tex){}
69 void SetTextureFilter(TexFilter){}
70 void GetTexture(
int, uint8_t*){}
71 TexFilter GetTextureFilter(){
return TexFilter::NoFilter;}
72 int GetTextureWidth(
int){
return 0;}
73 int GetTextureHeight(
int) {
return 0;}
74 int MaxSimultaneousTextures(){
return 0;}
76 RenderBufferID AddBuffer(
float *,
int) {
return RenderBufferID();}
77 void UpdateBuffer(RenderBufferID,
float *,
int,
int){}
78 void ReadBuffer(RenderBufferID,
float *,
int,
int){}
79 int BufferSize(RenderBufferID){
return 0;}
80 void RemoveBuffer(RenderBufferID){}
83 LightID AddLight(LightType){
return LightID();}
84 void UpdateLightAttributes(LightID,
float *){}
85 void EnableLight(LightID,
bool doIt){}
86 void RemoveLight(LightID){}
87 int MaxEnabledLights(){
return 0;}
88 int NumLights(){
return 0;}
90 std::string ProgramGetLanguage(){
return "A hypothetical shader language";}
91 ProgramID ProgramGetBuiltIn(BuiltInShaderMode){
return ProgramID();}
92 ProgramID ProgramAdd(
const std::string&,
const std::string &, std::string &){
return ProgramID();}
95 bool IsSupported(Capability){
return false;}
96 void SetDrawingMode(Polygon, Dimension, AlphaRule){}
97 void GetDrawingMode(Polygon *, Dimension *, AlphaRule *){}
100 std::vector<Dynacoe::Framebuffer::Type> SupportedFramebuffers(){
101 return std::vector<Dynacoe::Framebuffer::Type>({
(uint8_t *) RGBA-ordered pixel array with no padding, matched to the dimensions given ...
Contains a visual state.
Definition: Framebuffer.h:49