Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RenderCommands ¶
type RenderCommands struct {
Sprites []SpriteRenderCommand
}
type RenderSystem ¶
type RenderSystem struct {
// contains filtered or unexported fields
}
RenderSystem defines an OpenGL-based rendering system.
func NewOpenGLRenderSystem ¶
func NewOpenGLRenderSystem(cam *camera.Camera, commands *RenderCommands) *RenderSystem
func (*RenderSystem) EnsureSpritesBufLen ¶
func (s *RenderSystem) EnsureSpritesBufLen(minLen int)
func (*RenderSystem) Remove ¶
func (s *RenderSystem) Remove(e ecs.BasicEntity)
func (*RenderSystem) Update ¶
func (s *RenderSystem) Update(dt float32)
Click to show internal directories.
Click to hide internal directories.