s&
news
news
family_star
about
code_blocks
documentation
quick_reference_all
api reference
log in
article
Home
published_with_changes
Api Changes
book
Documentation
Groups
Globals
Scene System
Utility
Diagnostics
Input
Audio
Network
Common Structs
Components
Live Services
Everything
Static Properties
Attributes
CameraPosition
IsActive
LayerType
RenderTarget
Viewport
Static Methods
Blit
Clear
CopyTexture
Draw
DrawIcon
DrawModel
DrawModelInstanced
DrawModelInstancedIndirect
DrawQuad
DrawRoundedRectangle
DrawText
GenerateMipMaps
GrabDepthTexture
GrabFrameTexture
MeasureText
Render
RenderToTexture
ResourceBarrierTransition
SetupLighting
Api
Graphics
Draw
Graphics
.Draw
static
void
Draw
(
GpuBuffer
<
T
>
vertexBuffer
,
Material
material
,
int
startVertex
,
int
vertexCount
,
RenderAttributes
attributes
,
Sandbox.Graphics/PrimitiveType
primitiveType
)
Graphics
.Draw
static
void
Draw
(
GpuBuffer
<
T
>
vertexBuffer
,
GpuBuffer
indexBuffer
,
Material
material
,
int
startIndex
,
int
indexCount
,
RenderAttributes
attributes
,
Sandbox.Graphics/PrimitiveType
primitiveType
)
Graphics
.Draw
static
void
Draw
(
System.Span
<
Vertex
>
vertices
,
int
vertCount
,
Material
material
,
RenderAttributes
attributes
,
Sandbox.Graphics/PrimitiveType
primitiveType
)
Graphics
.Draw
static
void
Draw
(
List
<
Vertex
>
vertices
,
int
vertCount
,
Material
material
,
RenderAttributes
attributes
,
Sandbox.Graphics/PrimitiveType
primitiveType
)
Graphics
.Draw
static
void
Draw
(
System.Span
<
Vertex
>
vertices
,
int
vertCount
,
System.Span
<
System.UInt16
>
indices
,
int
indexCount
,
Material
material
,
RenderAttributes
attributes
,
Sandbox.Graphics/PrimitiveType
primitiveType
)
User Comments