Sleeping Wombat GUI
0.100
swGUI
|
Set state of rasterizer and render target. More...
#include <RenderCommands.h>
Public Attributes | |
RenderTargetObject * | RenderTargets [MAX_BOUND_RENDER_TARGETS] |
Render targets. If you want to use only one slot, set other to nullptr. More... | |
RenderTargetObject * | DepthStencil |
Renderer will extract depth stencil from this render target. You can use one of objects from RenderTargets array. More... | |
RasterizerState * | RasterizerState |
BlendingState * | BlendingState |
DepthStencilState * | DepthStencilState |
BufferObject * | CameraBuffer |
Buffer updated once per render target (or even once per frame). Buffer is bound to both pixel and vertex shader. More... | |
BufferObject * | LightBuffer |
Buffer updated once per render target (or even once per frame). Buffer is bound only to pixel shader. More... | |
Set state of rasterizer and render target.
Uses default viewport settings (width and hight from render target). Disables scissors rectangle. If you want your custom settings use SetRenderTargetExCommand.
BlendingState* SetRenderTargetCommand::BlendingState |
BufferObject* SetRenderTargetCommand::CameraBuffer |
Buffer updated once per render target (or even once per frame). Buffer is bound to both pixel and vertex shader.
RenderTargetObject* SetRenderTargetCommand::DepthStencil |
Renderer will extract depth stencil from this render target. You can use one of objects from RenderTargets array.
DepthStencilState* SetRenderTargetCommand::DepthStencilState |
BufferObject* SetRenderTargetCommand::LightBuffer |
Buffer updated once per render target (or even once per frame). Buffer is bound only to pixel shader.
RasterizerState* SetRenderTargetCommand::RasterizerState |
RenderTargetObject* SetRenderTargetCommand::RenderTargets[MAX_BOUND_RENDER_TARGETS] |
Render targets. If you want to use only one slot, set other to nullptr.