Documentation ¶
Index ¶
- type QuadBatch
- func (batch *QuadBatch) Begin()
- func (batch *QuadBatch) DrawStObject(position, origin, scale vector.Vector2d, flipX, flipY bool, rotation float64, ...)
- func (batch *QuadBatch) DrawTexture(texture texture.TextureRegion)
- func (batch *QuadBatch) DrawUnit(texture texture.TextureRegion)
- func (batch *QuadBatch) End()
- func (batch *QuadBatch) Flush()
- func (batch *QuadBatch) GetRotation() float64
- func (batch *QuadBatch) GetScale() vector.Vector2d
- func (batch *QuadBatch) GetSubScale() vector.Vector2d
- func (batch *QuadBatch) ResetTransform()
- func (batch *QuadBatch) SetAdditive(additive bool)
- func (batch *QuadBatch) SetCamera(camera mgl32.Mat4)
- func (batch *QuadBatch) SetColor(r, g, b, a float64)
- func (batch *QuadBatch) SetColor32(r, g, b, a float32)
- func (batch *QuadBatch) SetColorM(color color2.Color)
- func (batch *QuadBatch) SetRotation(rad float64)
- func (batch *QuadBatch) SetScale(scaleX, scaleY float64)
- func (batch *QuadBatch) SetSubScale(scaleX, scaleY float64)
- func (batch *QuadBatch) SetTranslation(vec vector.Vector2d)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QuadBatch ¶
func NewQuadBatch ¶
func NewQuadBatch() *QuadBatch
func NewQuadBatchPersistent ¶
func NewQuadBatchPersistent() *QuadBatch
func NewQuadBatchSize ¶
func (*QuadBatch) DrawStObject ¶
func (*QuadBatch) DrawTexture ¶
func (batch *QuadBatch) DrawTexture(texture texture.TextureRegion)
func (*QuadBatch) DrawUnit ¶
func (batch *QuadBatch) DrawUnit(texture texture.TextureRegion)
func (*QuadBatch) GetRotation ¶
func (*QuadBatch) GetSubScale ¶
func (*QuadBatch) ResetTransform ¶
func (batch *QuadBatch) ResetTransform()
func (*QuadBatch) SetAdditive ¶
func (*QuadBatch) SetColor32 ¶
func (*QuadBatch) SetRotation ¶
func (*QuadBatch) SetSubScale ¶
func (*QuadBatch) SetTranslation ¶
Click to show internal directories.
Click to hide internal directories.