|
Sleeping Wombat Graphic API
1.010
swGraphicAPI
|
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. | |
| RenderTargetObject * | DepthStencil |
| Renderer will extract depth stencil from this render target. You can use one of objects from RenderTargets array. | |
| 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. | |
| BufferObject * | LightBuffer |
| Buffer updated once per render target (or even once per frame). Buffer is bound only to pixel shader. | |
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.
1.8.9.1