MCPcopy
hub / github.com/EngoEngine/engo / Drawable

Interface Drawable

common/render.go:26–32  ·  view source on GitHub ↗

Drawable is that which can be rendered to OpenGL.

Source from the content-addressed store, hash-verified

24
25// Drawable is that which can be rendered to OpenGL.
26type Drawable interface {
27 Texture() *gl.Texture
28 Width() float32
29 Height() float32
30 View() (float32, float32, float32, float32)
31 Close()
32}
33
34// TextureRepeating is the method used to repeat a texture in OpenGL.
35type TextureRepeating uint8

Callers 31

LessMethod · 0.65
bindTexturePackMethod · 0.65
DrawMethod · 0.65
DrawMethod · 0.65
TestTMXLevelFunction · 0.65
WidthMethod · 0.65
ShouldDrawMethod · 0.65
updateScaleMethod · 0.65
generateBufferContentMethod · 0.65
WidthMethod · 0.65
ShouldDrawMethod · 0.65
makeModelMatrixMethod · 0.65

Implementers 11

RenderTexturecommon/render_framebuffer.go
Textcommon/font.go
Texturecommon/render_filetype.go
Blendmapcommon/render_shaders_blendmap.go
Tilecommon/level.go
Trianglecommon/render_shapes.go
Rectanglecommon/render_shapes.go
Circlecommon/render_shapes.go
Curvecommon/render_shapes.go
ComplexTrianglescommon/render_shapes.go
TestDrawablecommon/animation_test.go

Calls

no outgoing calls

Tested by

no test coverage detected