d2dgame v3.0.0-beta.3 (2021-12-03T16:28:11Z)
Dub
Repo
SpriteBatchImpl.Vertex
d2d
rendering
spritebatch
SpriteBatchImpl
Undocumented in source.
class
SpriteBatchImpl
(uint maxVertexCount)
struct
Vertex {
vec2
position
;
vec2
texCoord
;
vec4
color
;
}
Members
Variables
color
vec4
color
;
Undocumented in source.
position
vec2
position
;
Undocumented in source.
texCoord
vec2
texCoord
;
Undocumented in source.
Meta
Source
See Implementation
d2d
rendering
spritebatch
SpriteBatchImpl
constructors
this
functions
begin
dispose
draw
drawRectangle
drawSprite
drawTriangle
end
properties
valid
static functions
load
static variables
spriteShader
structs
Vertex
variables
renderable
vertices