CommandList |
Attributes | Access to the local attributes. What these are depends on where the command list is being called. If we're calling from a renderable, these are the attributes for that renderable. |
DebugName | |
Enabled | |
Flags | |
GlobalAttributes | These are the attributes for the current view. Setting a variable here will let you pass it down to other places in the render pipeline. |
Paint | Access to simple 2D painting functions to draw shapes and text. |
ViewportSize | A handle to the viewport size |
Blit | |
Clear | Clear the current drawing context to given color. |
ClearRenderTarget | Set the current render target. Setting this will bind the render target and change the viewport to match it. |
DispatchCompute | |
DispatchComputeIndirect | |
Draw | |
DrawIndexed | |
DrawIndexedInstancedIndirect | |
DrawInstancedIndirect | |
DrawModel | Draws a single model at the given Transform immediately. |
DrawModelInstanced | |
DrawModelInstancedIndirect | Draws multiple instances of a model using GPU instancing with the number of instances being provided by indirect draw arguments. Use `SV_InstanceID` semantic in shaders to access the rendered instance. |
DrawQuad | |
DrawReflection | Render a planar reflection using the specified camera and the specified plane. |
DrawRefraction | Render a planar refraction using the specified camera and the specified plane. This is for all intents and purposes a regular view with a plane clipping it. Usually used for rendering under water. |
DrawRenderer | Render a Sandbox.Renderer with the specified overrides. |
DrawScreenQuad | |
DrawView | Renders the view from a camera to the specified render target. |
GenerateMipMaps | Generates a mip-map chain for the specified render target. This will generate mipmaps for the color texture of the render target. |
GetRenderTarget | Get a screen sized temporary render target. You should release the returned handle when you're done to return the textures to the pool. |
GrabDepthTextureobsolete | Takes a copy of the depthbuffer and returns a handle to it |
GrabFrameTextureobsolete | Takes a copy of the framebuffer and returns a handle to it |
InsertList | Run this CommandList here |
ReleaseRenderTarget | We're no longer using this RT, return it to the pool |
Reset | |
ResourceBarrierTransition | Executes a barrier transition for the given GPU Texture Resource. Transitions the texture resource to a new pipeline stage and access state. |
Setobsolete | |
SetComboobsolete | |
SetConstantBufferobsolete | |
SetGlobalobsolete | |
SetRenderTarget | Set the current render target. Setting this will bind the render target and change the viewport to match it. |