Documentation ¶
Index ¶
Constants ¶
View Source
const (
RGBA32 = 32
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TexLibrary ¶
type TexLibrary struct { ID map[string]uint32 //Maps Texture.Names to their GLInt Gen Texture IDS Textures []Texture Base string HasDevice bool }
func NewTexLibrary ¶
func NewTexLibrary() TexLibrary
func (*TexLibrary) CommitTexLibGL ¶
func (t *TexLibrary) CommitTexLibGL()
Commits Textures into OpenGL Texture Memory Bindings
func (*TexLibrary) Load ¶
func (t *TexLibrary) Load(path string, texIndex int32) error
Direcly loads texture into the texture library, does not interface with GL/GPU operations
func (*TexLibrary) RemoveTexLibGL ¶
func (t *TexLibrary) RemoveTexLibGL()
RemoveTexLibGL removes entire Texture Library Binding from gl texture memory
type TexSampler ¶
TexSampler holds GL / Driver sampler constants
Click to show internal directories.
Click to hide internal directories.