24 #define CAMERA_BUFFER_BINDING_POINT 0
25 #define LIGHTS_BUFFER_BINDING_POINT 1
26 #define TRANSFORM_BUFFER_BINDING_POINT 1
27 #define BONES_BUFFER_BINDING_POINT 2
28 #define MATERIAL_BUFFER_BINDING_POINT 2
virtual void CopyTexture(const CopyTextureCommand &command) override
Definition: MockRenderer.cpp:122
bool SupportsDefferedContextRendering() override
Informuje czy Renderer nadaje się do renderowania w wielu wątkach do opóźnionego contextu.
Definition: MockRenderer.h:48
Copy texture.
Definition: RenderCommands.h:183
Sets basic shaders and textures.
Definition: RenderCommands.h:136
virtual void ClearRenderTarget(const ClearRenderTargetCommand &command) override
Definition: MockRenderer.cpp:77
bool SetVertexBuffer(BufferObject *buffer, unsigned int offset)
Definition: MockRenderer.cpp:133
Obiekt opakowujący bufor.Bufor może być zarówno buforem wierzchołków, indeksów jak i stałych...
Definition: MeshResources.h:516
Set state of rasterizer and render target.
Definition: RenderCommands.h:36
virtual void SetRenderTarget(const SetRenderTargetCommand &command) override
Definition: MockRenderer.cpp:67
Sets geometry and tesselation shaders.
Definition: RenderCommands.h:148
Mock renderer for debugging and testing.
Definition: MockRenderer.h:38
Renderowanie natychmiastowe.
Definition: IRenderer.h:21
Set state of rasterizer and render target.
Definition: RenderCommands.h:94
Definition: DirectInputModule.cpp:11
virtual void BindBuffer(const BindBufferCommand &command) override
Definition: MockRenderer.cpp:87
Klasa interfejsu renderera.
Definition: IRenderer.h:29
RendererUsage m_usageType
Informacja jak będzie używany rederer.
Definition: MockRenderer.h:43
bool IsValid() override
Definition: MockRenderer.h:49
Main draw command.
Definition: RenderCommands.h:109
#define MAX_BOUND_RENDER_TARGETS
Definition: RenderCommands.h:19
virtual void DrawInstanced(const DrawInstancedCommand &command) override
Definition: MockRenderer.cpp:58
bool m_valid
Jeżeli klasa nie została zainicjowana poprawnie, to będzie tu wartość false.
Definition: MockRenderer.h:42
Definition: RenderCommands.h:169
RendererUsage
Sposób użycia renderera.
Definition: IRenderer.h:18
void SetIndexBuffer(BufferObject *buffer, unsigned int offset, bool extendedIndex)
Definition: MockRenderer.cpp:150
Binds buffer to pipeline and updates with given data.
Definition: RenderCommands.h:218
Plik zawiera deklaracje formatów wierzchołków oraz klas zawierających assety shadery itp...
Updates buffer with given data.
Definition: RenderCommands.h:207
~MockRenderer()
Definition: MockRenderer.cpp:42
Sets default buffers.
Definition: RenderCommands.h:159
Binds additional buffers.
Definition: RenderCommands.h:196
Instanced drawing command.
Definition: RenderCommands.h:124
Klasa przechowująca tekstury.Klasa bazowa, która będzie używana przez obiekty silnika. Powinny po niej odziedziczyć obiekty konkretnego API graficznego, żeby zaimplementować najważniejsze funkcjonalności.
Definition: MeshResources.h:206
Definition: RenderCommands.h:176
uint8_t uint8
Definition: TypesDefinitions.h:27
Set state of rasterizer and render target.
Definition: RenderCommands.h:82
void SetTextures(TextureObject *const texturesArray[MAX_BOUND_RENDER_TARGETS], const uint8 shaderTypes[MAX_BOUND_RENDER_TARGETS])
Definition: MockRenderer.cpp:160
MockRenderer Renderer
Definition: MockRenderer.h:17
virtual void SetShaderState(const SetShaderStateCommand &command) override
Definition: MockRenderer.cpp:102
Klasa dla render targetów.Klasa umożliwia pobranie jednej z tekstur składowych i udostępnienie dla sh...
Definition: MeshResources.h:301
virtual void Draw(const DrawCommand &command) override
Definition: MockRenderer.cpp:53
MockRenderer(RendererUsage usage=USE_AS_IMMEDIATE)
Definition: MockRenderer.cpp:35
virtual void UpdateBuffer(const UpdateBufferCommand &command) override
Definition: MockRenderer.cpp:82
virtual void SetDefaultBuffers(const SetDefaultBuffersCommand &command) override
Definition: MockRenderer.cpp:97
virtual void UpdateAndBindBuffer(const UpdateBindBuffer &command) override
Definition: MockRenderer.cpp:92