Sleeping Wombat GUI  0.100
swGUI
RenderCommands.h
Go to the documentation of this file.
1 #pragma once
2 
12 
19 #define MAX_BOUND_RENDER_TARGETS 8
20 #define ENGINE_MAX_TEXTURES 8
21 
22 
26 {};
27 
28 
37 {
45 };
46 
47 
53 {
58  float MinDepth;
59  float MaxDepth;
60 };
61 
62 
68 {
73 };
74 
75 
83 {
87  DirectX::XMFLOAT4 BlendFactor;
89 };
90 
91 
95 {
97  DirectX::XMFLOAT4 ClearColor;
98  float DepthValue;
103 };
104 
110 {
119 };
120 
125 {
128 };
129 
130 
137 {
142 };
143 
144 
149 {
153 };
154 
155 
160 {
164 };
165 
170 {};
171 
172 
177 {};
178 
179 
184 {
187 };
188 
197 {
201 };
202 
203 
208 {
212 };
213 
214 
219 {
222 };
uint16_t uint16
Definition: TypesDefinitions.h:29
Definition: DepthStencilState.h:45
Klasa przechowująca pixel shader.
Definition: MeshResources.h:429
BufferObject * VertexBuffer
Definition: RenderCommands.h:111
uint32 BufferOffset
Definition: RenderCommands.h:114
BufferObject * Buffer
Definition: RenderCommands.h:209
Copy texture.
Definition: RenderCommands.h:183
Sets basic shaders and textures.
Definition: RenderCommands.h:136
BufferObject * CameraBuffer
Buffer updated once per render target (or even once per frame). Buffer is bound to both pixel and ver...
Definition: RenderCommands.h:43
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
ScissorRectInfo * Scissors
Definition: RenderCommands.h:86
BufferObject * IndexBufer
Definition: RenderCommands.h:112
Sets geometry and tesselation shaders.
Definition: RenderCommands.h:148
RenderTargetObject * DepthStencil
Renderer will extract depth stencil from this render target. You can use one of objects from RenderTa...
Definition: RenderCommands.h:39
bool ClearRenderTarget
Definition: RenderCommands.h:102
float DepthValue
Definition: RenderCommands.h:98
Set state of rasterizer and render target.
Definition: RenderCommands.h:94
TextureObject * Textures[8]
Definition: RenderCommands.h:140
GeometryShader * GeometryShader
Definition: RenderCommands.h:150
uint16 Top
Definition: RenderCommands.h:70
VertexShader * VertexShader
Definition: RenderCommands.h:138
int32 BaseVertex
Definition: RenderCommands.h:116
Main draw command.
Definition: RenderCommands.h:109
Klasa przechowująca pixel shader.
Definition: MeshResources.h:450
#define MAX_BOUND_RENDER_TARGETS
Definition: RenderCommands.h:19
uint8 BindToShader
Use ShaderType flag.
Definition: RenderCommands.h:200
ShaderInputLayout * Layout
Definition: RenderCommands.h:113
BufferObject * LightBuffer
Buffer updated once per render target (or even once per frame). Buffer is bound only to pixel shader...
Definition: RenderCommands.h:44
BufferObject * BonesTransforms
Definition: RenderCommands.h:163
Definition: RenderCommands.h:169
uint16 TopLeftX
Definition: RenderCommands.h:54
DepthStencilState * DepthStencilState
Definition: RenderCommands.h:42
uint8 StencilValue
Definition: RenderCommands.h:99
Klasa przechowująca pixel shader.
Definition: MeshResources.h:408
uint32_t uint32
Definition: TypesDefinitions.h:31
float MinDepth
Definition: RenderCommands.h:58
BufferObject * MaterialBuffer
Definition: RenderCommands.h:162
Binds buffer to pipeline and updates with given data.
Definition: RenderCommands.h:218
float MaxDepth
Definition: RenderCommands.h:59
uint8 BufferSlot
Definition: RenderCommands.h:199
TextureObject * DestinationTexture
Definition: RenderCommands.h:186
Plik zawiera deklaracje formatów wierzchołków oraz klas zawierających assety shadery itp...
Updates buffer with given data.
Definition: RenderCommands.h:207
Sets default buffers.
Definition: RenderCommands.h:159
Klasa przechowująca pixel shader.
Definition: MeshResources.h:471
Viewport data.
Definition: RenderCommands.h:52
uint32 Size
Size in bytes.
Definition: RenderCommands.h:221
uint8 * FillData
Definition: RenderCommands.h:220
bool ExtendedIndex
Use 4 Index32 instead of Index16.
Definition: RenderCommands.h:118
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
uint16 Width
Definition: RenderCommands.h:56
uint16 TopLeftY
Definition: RenderCommands.h:55
BlendingState * BlendingState
Definition: RenderCommands.h:41
PrimitiveTopology Topology
Definition: RenderCommands.h:117
bool ClearStencil
Definition: RenderCommands.h:101
bool ClearDepth
Definition: RenderCommands.h:100
Klasa przechowuje layout wierzchołka trafiającego do vertex shadera.
Definition: MeshResources.h:334
uint32 NumVertices
Definition: RenderCommands.h:115
uint16 NumInstances
Definition: RenderCommands.h:127
Klasa dla render targetów.Klasa umożliwia pobranie jednej z tekstur składowych i udostępnienie dla sh...
Definition: MeshResources.h:301
uint8 * FillData
Definition: RenderCommands.h:210
uint32 StencilMask
Definition: RenderCommands.h:88
uint16 Left
Definition: RenderCommands.h:69
BufferObject * PerInstanceBuffer
Per instance transformation.
Definition: RenderCommands.h:126
RasterizerState * RasterizerState
Definition: RenderCommands.h:40
ScissorRect data.
Definition: RenderCommands.h:67
BufferObject * Buffer
Definition: RenderCommands.h:198
EvaluationShader * TessEvaluationShader
Definition: RenderCommands.h:151
uint8 BindToShader[8]
Use ShaderType flag.
Definition: RenderCommands.h:141
RenderTargetObject * RenderTargets[MAX_BOUND_RENDER_TARGETS]
Render targets. If you want to use only one slot, set other to nullptr.
Definition: RenderCommands.h:38
DirectX::XMFLOAT4 BlendFactor
Definition: RenderCommands.h:87
ViewportInfo * Viewports
Definition: RenderCommands.h:85
int32_t int32
Definition: TypesDefinitions.h:30
Klasa przechowująca vertex shader.
Definition: MeshResources.h:387
DirectX::XMFLOAT4 ClearColor
Definition: RenderCommands.h:97
Rasterizer state and depth stencil state.
Definition: RasterizerState.h:67
Definition: BlendingState.h:72
ControlShader * TessControlShader
Definition: RenderCommands.h:152
BufferObject * TransformBuffer
Definition: RenderCommands.h:161
TextureObject * SourceTexture
Definition: RenderCommands.h:185
PixelShader * PixelShader
Definition: RenderCommands.h:139
uint8 NumViews
Definition: RenderCommands.h:84
uint16 Height
Definition: RenderCommands.h:57
RenderTargetObject * RenderTarget
Definition: RenderCommands.h:96
PrimitiveTopology
Topologia wierzchołków.
Definition: GraphicAPIConstants.h:84
uint32 Size
Size in bytes.
Definition: RenderCommands.h:211
Base class for renderer commands.
Definition: RenderCommands.h:25
uint16 Right
Definition: RenderCommands.h:71
uint16 Bottom
Definition: RenderCommands.h:72