API ReferenceSandbox.Rendering

GpuInstanceTransformclass

GPU instance transform - matches TransformBufferData_t in transform_buffer.fxc. Feed a buffer of these to `Sandbox.Graphics.DrawModelInstancedIndirect(Sandbox.Model,Sandbox.GpuBuffer,Sandbox.GpuBuffer,System.Int32,System.Int32,Sandbox.RenderAttributes)`.

objectGpuInstanceTransform
Namespace
Sandbox.Rendering
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.Rendering.GpuInstanceTransform

Methods1

Showing 1 methods

On this page