Sleeping Wombat GUI  0.100
swGUI
Public Attributes | List of all members
SetRenderTargetCommand Struct Reference

Set state of rasterizer and render target. More...

#include <RenderCommands.h>

Inheritance diagram for SetRenderTargetCommand:
RendererCommand SetRenderTargetExCommand

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...
 

Detailed Description

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.

Member Data Documentation

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.


The documentation for this struct was generated from the following file: