Sleeping Wombat GUI
0.100
swGUI
|
Mock renderer for debugging and testing. More...
#include <MockRenderer.h>
Public Member Functions | |
MockRenderer (RendererUsage usage=USE_AS_IMMEDIATE) | |
~MockRenderer () | |
bool | SupportsDefferedContextRendering () override |
Informuje czy Renderer nadaje się do renderowania w wielu wątkach do opóźnionego contextu. More... | |
bool | IsValid () override |
virtual void | Draw (const DrawCommand &command) override |
virtual void | DrawInstanced (const DrawInstancedCommand &command) override |
virtual void | SetRenderTarget (const SetRenderTargetCommand &command) override |
virtual void | SetRenderTarget (const SetRenderTargetExCommand &command) override |
virtual void | ClearRenderTarget (const ClearRenderTargetCommand &command) override |
virtual void | UpdateBuffer (const UpdateBufferCommand &command) override |
virtual void | BindBuffer (const BindBufferCommand &command) override |
virtual void | UpdateAndBindBuffer (const UpdateBindBuffer &command) override |
virtual void | SetDefaultBuffers (const SetDefaultBuffersCommand &command) override |
virtual void | SetShaderState (const SetShaderStateCommand &command) override |
virtual void | SetShaderState (const SetShaderStateExCommand &command) override |
virtual void | SetShaderState (const SetRenderStateCommand &command) override |
virtual void | SetShaderState (const SetRenderStateExCommand &command) override |
virtual void | CopyTexture (const CopyTextureCommand &command) override |
Public Member Functions inherited from IRenderer | |
IRenderer ()=default | |
virtual | ~IRenderer ()=default |
Private Member Functions | |
bool | SetVertexBuffer (BufferObject *buffer, unsigned int offset) |
void | SetIndexBuffer (BufferObject *buffer, unsigned int offset, bool extendedIndex) |
void | SetRenderTarget (RenderTargetObject *const targets[MAX_BOUND_RENDER_TARGETS], RenderTargetObject *depthStencil) |
void | SetTextures (TextureObject *const texturesArray[MAX_BOUND_RENDER_TARGETS], const uint8 shaderTypes[MAX_BOUND_RENDER_TARGETS]) |
Private Attributes | |
bool | m_valid |
Jeżeli klasa nie została zainicjowana poprawnie, to będzie tu wartość false. More... | |
RendererUsage | m_usageType |
Informacja jak będzie używany rederer. More... | |
Mock renderer for debugging and testing.
sw::MockRenderer::MockRenderer | ( | RendererUsage | usage = USE_AS_IMMEDIATE | ) |
sw::MockRenderer::~MockRenderer | ( | ) |
|
overridevirtual |
Implements IRenderer.
|
overridevirtual |
Implements IRenderer.
|
overridevirtual |
Implements IRenderer.
|
overridevirtual |
Implements IRenderer.
|
overridevirtual |
Implements IRenderer.
|
inlineoverridevirtual |
Implements IRenderer.
|
overridevirtual |
Implements IRenderer.
|
private |
|
overridevirtual |
Implements IRenderer.
|
overridevirtual |
Implements IRenderer.
|
private |
|
overridevirtual |
Implements IRenderer.
|
overridevirtual |
Implements IRenderer.
|
overridevirtual |
Implements IRenderer.
|
overridevirtual |
Implements IRenderer.
|
private |
|
private |
|
inlineoverridevirtual |
Informuje czy Renderer nadaje się do renderowania w wielu wątkach do opóźnionego contextu.
Implements IRenderer.
|
overridevirtual |
Implements IRenderer.
|
overridevirtual |
Implements IRenderer.
|
private |
Informacja jak będzie używany rederer.
|
private |
Jeżeli klasa nie została zainicjowana poprawnie, to będzie tu wartość false.