renderer

package
v0.0.0-...-5ecc521 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2019 License: Zlib Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NUM_GO_ROUTINES_TANGENTS_CALCULATING = 10
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenGLES31CubeMap

type OpenGLES31CubeMap struct {
	// contains filtered or unexported fields
}

func CreateOpenGLES31CubeMap

func CreateOpenGLES31CubeMap(name string) *OpenGLES31CubeMap

func (*OpenGLES31CubeMap) Bind

func (this *OpenGLES31CubeMap) Bind(unit uint32)

func (*OpenGLES31CubeMap) GetData

func (this *OpenGLES31CubeMap) GetData() (data []byte, width int, height int)

func (*OpenGLES31CubeMap) GetHeight

func (this *OpenGLES31CubeMap) GetHeight() int

func (*OpenGLES31CubeMap) GetKeyColor

func (this *OpenGLES31CubeMap) GetKeyColor() color.Color

func (*OpenGLES31CubeMap) GetModColor

func (this *OpenGLES31CubeMap) GetModColor() color.Color

func (*OpenGLES31CubeMap) GetName

func (this *OpenGLES31CubeMap) GetName() string

func (*OpenGLES31CubeMap) GetWidth

func (this *OpenGLES31CubeMap) GetWidth() int

func (*OpenGLES31CubeMap) Load

func (this *OpenGLES31CubeMap) Load(data []byte, width, height int, shadowMap bool)

func (*OpenGLES31CubeMap) LoadFromImage

func (this *OpenGLES31CubeMap) LoadFromImage(img image.Image)

func (*OpenGLES31CubeMap) SetBorderColor

func (this *OpenGLES31CubeMap) SetBorderColor(col color.Color)

func (*OpenGLES31CubeMap) SetBorderDepth

func (this *OpenGLES31CubeMap) SetBorderDepth(depth float32)

func (*OpenGLES31CubeMap) SetFiltering

func (this *OpenGLES31CubeMap) SetFiltering(filtering int)

func (*OpenGLES31CubeMap) SetKeyColor

func (this *OpenGLES31CubeMap) SetKeyColor(col color.Color)

func (*OpenGLES31CubeMap) SetModColor

func (this *OpenGLES31CubeMap) SetModColor(col color.Color)

func (*OpenGLES31CubeMap) SetWrapping

func (this *OpenGLES31CubeMap) SetWrapping(wrapping int)

func (*OpenGLES31CubeMap) Terminate

func (this *OpenGLES31CubeMap) Terminate()

func (*OpenGLES31CubeMap) Unbind

func (this *OpenGLES31CubeMap) Unbind(unit uint32)

type OpenGLES31Error

type OpenGLES31Error struct {
	// contains filtered or unexported fields
}

func (OpenGLES31Error) Error

func (oerr OpenGLES31Error) Error() string

type OpenGLES31InstancedMesh3D

type OpenGLES31InstancedMesh3D struct {
	Name     string
	Material *gohome.Material
	// contains filtered or unexported fields
}

func CreateOpenGLES31InstancedMesh3D

func CreateOpenGLES31InstancedMesh3D(name string) *OpenGLES31InstancedMesh3D

func (*OpenGLES31InstancedMesh3D) AABB

func (*OpenGLES31InstancedMesh3D) AddValue

func (this *OpenGLES31InstancedMesh3D) AddValue(valueType int)

func (*OpenGLES31InstancedMesh3D) AddValueFront

func (this *OpenGLES31InstancedMesh3D) AddValueFront(valueType int)

func (*OpenGLES31InstancedMesh3D) AddVertices

func (this *OpenGLES31InstancedMesh3D) AddVertices(vertices []gohome.Mesh3DVertex, indices []uint32)

func (*OpenGLES31InstancedMesh3D) CalculateTangents

func (this *OpenGLES31InstancedMesh3D) CalculateTangents()

func (*OpenGLES31InstancedMesh3D) CalculateTangentsRoutine

func (this *OpenGLES31InstancedMesh3D) CalculateTangentsRoutine(startIndex, maxIndex int, wg *sync.WaitGroup)

func (*OpenGLES31InstancedMesh3D) Copy

func (*OpenGLES31InstancedMesh3D) GetIndices

func (this *OpenGLES31InstancedMesh3D) GetIndices() []uint32

func (*OpenGLES31InstancedMesh3D) GetMaterial

func (this *OpenGLES31InstancedMesh3D) GetMaterial() *gohome.Material

func (*OpenGLES31InstancedMesh3D) GetName

func (this *OpenGLES31InstancedMesh3D) GetName() string

func (*OpenGLES31InstancedMesh3D) GetNumIndices

func (this *OpenGLES31InstancedMesh3D) GetNumIndices() int

func (*OpenGLES31InstancedMesh3D) GetNumInstances

func (this *OpenGLES31InstancedMesh3D) GetNumInstances() int

func (*OpenGLES31InstancedMesh3D) GetNumUsedInstances

func (this *OpenGLES31InstancedMesh3D) GetNumUsedInstances() int

func (*OpenGLES31InstancedMesh3D) GetNumVertices

func (this *OpenGLES31InstancedMesh3D) GetNumVertices() int

func (*OpenGLES31InstancedMesh3D) GetVertices

func (this *OpenGLES31InstancedMesh3D) GetVertices() []gohome.Mesh3DVertex

func (*OpenGLES31InstancedMesh3D) HasUV

func (this *OpenGLES31InstancedMesh3D) HasUV() bool

func (*OpenGLES31InstancedMesh3D) Load

func (this *OpenGLES31InstancedMesh3D) Load()

func (*OpenGLES31InstancedMesh3D) LoadedToGPU

func (this *OpenGLES31InstancedMesh3D) LoadedToGPU() bool

func (*OpenGLES31InstancedMesh3D) Render

func (this *OpenGLES31InstancedMesh3D) Render()

func (*OpenGLES31InstancedMesh3D) SetF

func (this *OpenGLES31InstancedMesh3D) SetF(index int, value []float32)

func (*OpenGLES31InstancedMesh3D) SetM2

func (this *OpenGLES31InstancedMesh3D) SetM2(index int, value []mgl32.Mat2)

func (*OpenGLES31InstancedMesh3D) SetM3

func (this *OpenGLES31InstancedMesh3D) SetM3(index int, value []mgl32.Mat3)

func (*OpenGLES31InstancedMesh3D) SetM4

func (this *OpenGLES31InstancedMesh3D) SetM4(index int, value []mgl32.Mat4)

func (*OpenGLES31InstancedMesh3D) SetMaterial

func (this *OpenGLES31InstancedMesh3D) SetMaterial(mat *gohome.Material)

func (*OpenGLES31InstancedMesh3D) SetName

func (this *OpenGLES31InstancedMesh3D) SetName(index, value_type int, value string)

func (*OpenGLES31InstancedMesh3D) SetNumInstances

func (this *OpenGLES31InstancedMesh3D) SetNumInstances(n int)

func (*OpenGLES31InstancedMesh3D) SetNumUsedInstances

func (this *OpenGLES31InstancedMesh3D) SetNumUsedInstances(n int)

func (*OpenGLES31InstancedMesh3D) SetV2

func (this *OpenGLES31InstancedMesh3D) SetV2(index int, value []mgl32.Vec2)

func (*OpenGLES31InstancedMesh3D) SetV3

func (this *OpenGLES31InstancedMesh3D) SetV3(index int, value []mgl32.Vec3)

func (*OpenGLES31InstancedMesh3D) SetV4

func (this *OpenGLES31InstancedMesh3D) SetV4(index int, value []mgl32.Vec4)

func (*OpenGLES31InstancedMesh3D) Terminate

func (this *OpenGLES31InstancedMesh3D) Terminate()

type OpenGLES31Mesh2D

type OpenGLES31Mesh2D struct {
	Name string
	// contains filtered or unexported fields
}

func CreateOpenGLES31Mesh2D

func CreateOpenGLES31Mesh2D(name string) *OpenGLES31Mesh2D

func (*OpenGLES31Mesh2D) AddVertices

func (oglm *OpenGLES31Mesh2D) AddVertices(vertices []gohome.Mesh2DVertex, indices []uint32)

func (*OpenGLES31Mesh2D) Load

func (oglm *OpenGLES31Mesh2D) Load()

func (*OpenGLES31Mesh2D) Render

func (oglm *OpenGLES31Mesh2D) Render()

func (*OpenGLES31Mesh2D) Terminate

func (oglm *OpenGLES31Mesh2D) Terminate()

type OpenGLES31Mesh3D

type OpenGLES31Mesh3D struct {
	Name     string
	Material *gohome.Material
	// contains filtered or unexported fields
}

func CreateOpenGLES31Mesh3D

func CreateOpenGLES31Mesh3D(name string) *OpenGLES31Mesh3D

func (*OpenGLES31Mesh3D) AABB

func (*OpenGLES31Mesh3D) AddVertices

func (oglm *OpenGLES31Mesh3D) AddVertices(vertices []gohome.Mesh3DVertex, indices []uint32)

func (*OpenGLES31Mesh3D) CalculateTangents

func (oglm *OpenGLES31Mesh3D) CalculateTangents()

func (*OpenGLES31Mesh3D) CalculateTangentsRoutine

func (oglm *OpenGLES31Mesh3D) CalculateTangentsRoutine(startIndex, maxIndex int, wg *sync.WaitGroup)

func (*OpenGLES31Mesh3D) Copy

func (oglm *OpenGLES31Mesh3D) Copy() gohome.Mesh3D

func (*OpenGLES31Mesh3D) GetIndices

func (oglm *OpenGLES31Mesh3D) GetIndices() []uint32

func (*OpenGLES31Mesh3D) GetMaterial

func (oglm *OpenGLES31Mesh3D) GetMaterial() *gohome.Material

func (*OpenGLES31Mesh3D) GetName

func (oglm *OpenGLES31Mesh3D) GetName() string

func (*OpenGLES31Mesh3D) GetNumIndices

func (oglm *OpenGLES31Mesh3D) GetNumIndices() int

func (*OpenGLES31Mesh3D) GetNumVertices

func (oglm *OpenGLES31Mesh3D) GetNumVertices() int

func (*OpenGLES31Mesh3D) GetVertices

func (oglm *OpenGLES31Mesh3D) GetVertices() []gohome.Mesh3DVertex

func (*OpenGLES31Mesh3D) HasUV

func (oglm *OpenGLES31Mesh3D) HasUV() bool

func (*OpenGLES31Mesh3D) Load

func (oglm *OpenGLES31Mesh3D) Load()

func (*OpenGLES31Mesh3D) LoadedToGPU

func (oglm *OpenGLES31Mesh3D) LoadedToGPU() bool

func (*OpenGLES31Mesh3D) Render

func (oglm *OpenGLES31Mesh3D) Render()

func (*OpenGLES31Mesh3D) SetMaterial

func (oglm *OpenGLES31Mesh3D) SetMaterial(mat *gohome.Material)

func (*OpenGLES31Mesh3D) Terminate

func (oglm *OpenGLES31Mesh3D) Terminate()

type OpenGLES31RenderTexture

type OpenGLES31RenderTexture struct {
	Name string
	// contains filtered or unexported fields
}

func CreateOpenGLES31RenderTexture

func CreateOpenGLES31RenderTexture(name string, width, height, textures int, depthBuffer, shadowMap, cubeMap bool) *OpenGLES31RenderTexture

func (*OpenGLES31RenderTexture) Bind

func (this *OpenGLES31RenderTexture) Bind(unit uint32)

func (*OpenGLES31RenderTexture) BindIndex

func (this *OpenGLES31RenderTexture) BindIndex(index int, unit uint32)

func (*OpenGLES31RenderTexture) Blit

func (this *OpenGLES31RenderTexture) Blit(rtex gohome.RenderTexture)

func (*OpenGLES31RenderTexture) ChangeSize

func (this *OpenGLES31RenderTexture) ChangeSize(width, height int)

func (*OpenGLES31RenderTexture) Create

func (this *OpenGLES31RenderTexture) Create(name string, width, height, textures int, depthBuffer, multiSampled, shadowMap, cubeMap bool)

func (*OpenGLES31RenderTexture) GetData

func (this *OpenGLES31RenderTexture) GetData() ([]byte, int, int)

func (*OpenGLES31RenderTexture) GetHeight

func (this *OpenGLES31RenderTexture) GetHeight() int

func (*OpenGLES31RenderTexture) GetKeyColor

func (this *OpenGLES31RenderTexture) GetKeyColor() color.Color

func (*OpenGLES31RenderTexture) GetModColor

func (this *OpenGLES31RenderTexture) GetModColor() color.Color

func (*OpenGLES31RenderTexture) GetName

func (this *OpenGLES31RenderTexture) GetName() string

func (*OpenGLES31RenderTexture) GetWidth

func (this *OpenGLES31RenderTexture) GetWidth() int

func (*OpenGLES31RenderTexture) Load

func (this *OpenGLES31RenderTexture) Load(data []byte, width, height int, shadowMap bool)

func (*OpenGLES31RenderTexture) LoadFromImage

func (ogltex *OpenGLES31RenderTexture) LoadFromImage(img image.Image)

func (*OpenGLES31RenderTexture) SetAsTarget

func (this *OpenGLES31RenderTexture) SetAsTarget()

func (*OpenGLES31RenderTexture) SetBorderColor

func (this *OpenGLES31RenderTexture) SetBorderColor(col color.Color)

func (*OpenGLES31RenderTexture) SetBorderDepth

func (this *OpenGLES31RenderTexture) SetBorderDepth(depth float32)

func (*OpenGLES31RenderTexture) SetFiltering

func (this *OpenGLES31RenderTexture) SetFiltering(filtering int)

func (*OpenGLES31RenderTexture) SetKeyColor

func (this *OpenGLES31RenderTexture) SetKeyColor(col color.Color)

func (*OpenGLES31RenderTexture) SetModColor

func (this *OpenGLES31RenderTexture) SetModColor(col color.Color)

func (*OpenGLES31RenderTexture) SetWrapping

func (this *OpenGLES31RenderTexture) SetWrapping(wrapping int)

func (*OpenGLES31RenderTexture) Terminate

func (this *OpenGLES31RenderTexture) Terminate()

func (*OpenGLES31RenderTexture) Unbind

func (this *OpenGLES31RenderTexture) Unbind(unit uint32)

func (*OpenGLES31RenderTexture) UnbindIndex

func (this *OpenGLES31RenderTexture) UnbindIndex(index int, unit uint32)

func (*OpenGLES31RenderTexture) UnsetAsTarget

func (this *OpenGLES31RenderTexture) UnsetAsTarget()

type OpenGLES31Renderer

type OpenGLES31Renderer struct {
	BackBufferVao      uint32
	CurrentTextureUnit uint32
	// contains filtered or unexported fields
}

func (*OpenGLES31Renderer) AfterInit

func (this *OpenGLES31Renderer) AfterInit()

func (*OpenGLES31Renderer) AfterRender

func (this *OpenGLES31Renderer) AfterRender()

func (*OpenGLES31Renderer) ClearScreen

func (*OpenGLES31Renderer) ClearScreen(c color.Color)

func (*OpenGLES31Renderer) CreateCubeMap

func (*OpenGLES31Renderer) CreateCubeMap(name string) gohome.CubeMap

func (*OpenGLES31Renderer) CreateInstancedMesh3D

func (*OpenGLES31Renderer) CreateInstancedMesh3D(name string) gohome.InstancedMesh3D

func (*OpenGLES31Renderer) CreateMesh2D

func (*OpenGLES31Renderer) CreateMesh2D(name string) gohome.Mesh2D

func (*OpenGLES31Renderer) CreateMesh3D

func (*OpenGLES31Renderer) CreateMesh3D(name string) gohome.Mesh3D

func (*OpenGLES31Renderer) CreateRenderTexture

func (*OpenGLES31Renderer) CreateRenderTexture(name string, width, height, textures int, depthBuffer, multiSampled, shadowMap, cubeMap bool) gohome.RenderTexture

func (*OpenGLES31Renderer) CreateShape2DInterface

func (this *OpenGLES31Renderer) CreateShape2DInterface(name string) gohome.Shape2DInterface

func (*OpenGLES31Renderer) CreateShape3DInterface

func (*OpenGLES31Renderer) CreateShape3DInterface(name string) gohome.Shape3DInterface

func (*OpenGLES31Renderer) CreateTexture

func (*OpenGLES31Renderer) CreateTexture(name string, multiSampled bool) gohome.Texture

func (*OpenGLES31Renderer) DecrementTextureUnit

func (this *OpenGLES31Renderer) DecrementTextureUnit(amount uint32)

func (*OpenGLES31Renderer) GetBackgroundColor

func (this *OpenGLES31Renderer) GetBackgroundColor() color.Color

func (*OpenGLES31Renderer) GetMaxTextures

func (this *OpenGLES31Renderer) GetMaxTextures() int

func (*OpenGLES31Renderer) GetName

func (this *OpenGLES31Renderer) GetName() string

func (*OpenGLES31Renderer) GetNativeResolution

func (this *OpenGLES31Renderer) GetNativeResolution() mgl32.Vec2

func (*OpenGLES31Renderer) GetVersioni

func (this *OpenGLES31Renderer) GetVersioni() int

func (*OpenGLES31Renderer) GetViewport

func (this *OpenGLES31Renderer) GetViewport() gohome.Viewport

func (*OpenGLES31Renderer) HasExtension

func (this *OpenGLES31Renderer) HasExtension(name string) bool

func (*OpenGLES31Renderer) HasFunctionAvailable

func (this *OpenGLES31Renderer) HasFunctionAvailable(function string) bool

func (*OpenGLES31Renderer) Init

func (this *OpenGLES31Renderer) Init() error

func (*OpenGLES31Renderer) InstancedMesh3DFromLoadedMesh3D

func (this *OpenGLES31Renderer) InstancedMesh3DFromLoadedMesh3D(mesh gohome.Mesh3D) gohome.InstancedMesh3D

func (*OpenGLES31Renderer) LoadShader

func (this *OpenGLES31Renderer) LoadShader(name, vertex_contents, fragment_contents, geometry_contents, tesselletion_control_contents, eveluation_contents, compute_contents string) (gohome.Shader, error)

func (*OpenGLES31Renderer) NextTextureUnit

func (this *OpenGLES31Renderer) NextTextureUnit() uint32

func (*OpenGLES31Renderer) OnResize

func (this *OpenGLES31Renderer) OnResize(newWidth, newHeight int)

func (*OpenGLES31Renderer) PreRender

func (this *OpenGLES31Renderer) PreRender()

func (*OpenGLES31Renderer) RenderBackBuffer

func (this *OpenGLES31Renderer) RenderBackBuffer()

func (*OpenGLES31Renderer) SetBacckFaceCulling

func (this *OpenGLES31Renderer) SetBacckFaceCulling(b bool)

func (*OpenGLES31Renderer) SetBackgroundColor

func (this *OpenGLES31Renderer) SetBackgroundColor(bgColor color.Color)

func (*OpenGLES31Renderer) SetDepthTesting

func (this *OpenGLES31Renderer) SetDepthTesting(b bool)

func (*OpenGLES31Renderer) SetNativeResolution

func (this *OpenGLES31Renderer) SetNativeResolution(width, height int)

func (*OpenGLES31Renderer) SetViewport

func (this *OpenGLES31Renderer) SetViewport(viewport gohome.Viewport)

func (*OpenGLES31Renderer) SetWireFrame

func (this *OpenGLES31Renderer) SetWireFrame(b bool)

func (*OpenGLES31Renderer) Terminate

func (this *OpenGLES31Renderer) Terminate()

type OpenGLES31Shader

type OpenGLES31Shader struct {
	// contains filtered or unexported fields
}

func CreateOpenGLES31Shader

func CreateOpenGLES31Shader(name string) (*OpenGLES31Shader, error)

func (*OpenGLES31Shader) AddAttribute

func (s *OpenGLES31Shader) AddAttribute(name string, location uint32)

func (*OpenGLES31Shader) AddShader

func (s *OpenGLES31Shader) AddShader(shader_type uint8, src string) error

func (*OpenGLES31Shader) GetName

func (s *OpenGLES31Shader) GetName() string
func (s *OpenGLES31Shader) Link() error

func (*OpenGLES31Shader) SetUniformB

func (s *OpenGLES31Shader) SetUniformB(name string, value uint8)

func (*OpenGLES31Shader) SetUniformF

func (s *OpenGLES31Shader) SetUniformF(name string, value float32)

func (*OpenGLES31Shader) SetUniformI

func (s *OpenGLES31Shader) SetUniformI(name string, value int32)

func (*OpenGLES31Shader) SetUniformIV2

func (s *OpenGLES31Shader) SetUniformIV2(name string, value []int32)

func (*OpenGLES31Shader) SetUniformIV3

func (s *OpenGLES31Shader) SetUniformIV3(name string, value []int32)

func (*OpenGLES31Shader) SetUniformIV4

func (s *OpenGLES31Shader) SetUniformIV4(name string, value []int32)

func (*OpenGLES31Shader) SetUniformLights

func (s *OpenGLES31Shader) SetUniformLights(lightCollectionIndex int)

func (*OpenGLES31Shader) SetUniformM2

func (s *OpenGLES31Shader) SetUniformM2(name string, value mgl32.Mat2)

func (*OpenGLES31Shader) SetUniformM3

func (s *OpenGLES31Shader) SetUniformM3(name string, value mgl32.Mat3)

func (*OpenGLES31Shader) SetUniformM4

func (s *OpenGLES31Shader) SetUniformM4(name string, value mgl32.Mat4)

func (*OpenGLES31Shader) SetUniformMaterial

func (s *OpenGLES31Shader) SetUniformMaterial(mat gohome.Material)

func (*OpenGLES31Shader) SetUniformUI

func (s *OpenGLES31Shader) SetUniformUI(name string, value uint32)

func (*OpenGLES31Shader) SetUniformV2

func (s *OpenGLES31Shader) SetUniformV2(name string, value mgl32.Vec2)

func (*OpenGLES31Shader) SetUniformV3

func (s *OpenGLES31Shader) SetUniformV3(name string, value mgl32.Vec3)

func (*OpenGLES31Shader) SetUniformV4

func (s *OpenGLES31Shader) SetUniformV4(name string, value mgl32.Vec4)

func (*OpenGLES31Shader) Setup

func (s *OpenGLES31Shader) Setup() error

func (*OpenGLES31Shader) Terminate

func (s *OpenGLES31Shader) Terminate()

func (*OpenGLES31Shader) Unuse

func (s *OpenGLES31Shader) Unuse()

func (*OpenGLES31Shader) Use

func (s *OpenGLES31Shader) Use()

type OpenGLES31Shape2DInterface

type OpenGLES31Shape2DInterface struct {
	Name string
	// contains filtered or unexported fields
}

func (*OpenGLES31Shape2DInterface) AddLines

func (this *OpenGLES31Shape2DInterface) AddLines(lines []gohome.Line2D)

func (*OpenGLES31Shape2DInterface) AddPoints

func (this *OpenGLES31Shape2DInterface) AddPoints(points []gohome.Shape2DVertex)

func (*OpenGLES31Shape2DInterface) AddTriangles

func (this *OpenGLES31Shape2DInterface) AddTriangles(tris []gohome.Triangle2D)

func (*OpenGLES31Shape2DInterface) GetPoints

func (this *OpenGLES31Shape2DInterface) GetPoints() []gohome.Shape2DVertex

func (*OpenGLES31Shape2DInterface) Init

func (this *OpenGLES31Shape2DInterface) Init()

func (*OpenGLES31Shape2DInterface) Load

func (this *OpenGLES31Shape2DInterface) Load()

func (*OpenGLES31Shape2DInterface) Render

func (this *OpenGLES31Shape2DInterface) Render()

func (*OpenGLES31Shape2DInterface) SetDrawMode

func (this *OpenGLES31Shape2DInterface) SetDrawMode(mode uint8)

func (*OpenGLES31Shape2DInterface) SetLineWidth

func (this *OpenGLES31Shape2DInterface) SetLineWidth(width float32)

func (*OpenGLES31Shape2DInterface) SetPointSize

func (this *OpenGLES31Shape2DInterface) SetPointSize(size float32)

func (*OpenGLES31Shape2DInterface) Terminate

func (this *OpenGLES31Shape2DInterface) Terminate()

type OpenGLES31Shape3DInterface

type OpenGLES31Shape3DInterface struct {
	Name string
	// contains filtered or unexported fields
}

func (*OpenGLES31Shape3DInterface) AddPoints

func (this *OpenGLES31Shape3DInterface) AddPoints(points []gohome.Shape3DVertex)

func (*OpenGLES31Shape3DInterface) GetPoints

func (this *OpenGLES31Shape3DInterface) GetPoints() []gohome.Shape3DVertex

func (*OpenGLES31Shape3DInterface) Init

func (this *OpenGLES31Shape3DInterface) Init()

func (*OpenGLES31Shape3DInterface) Load

func (this *OpenGLES31Shape3DInterface) Load()

func (*OpenGLES31Shape3DInterface) Render

func (this *OpenGLES31Shape3DInterface) Render()

func (*OpenGLES31Shape3DInterface) SetDrawMode

func (this *OpenGLES31Shape3DInterface) SetDrawMode(drawMode uint8)

func (*OpenGLES31Shape3DInterface) SetLineWidth

func (this *OpenGLES31Shape3DInterface) SetLineWidth(width float32)

func (*OpenGLES31Shape3DInterface) SetPointSize

func (this *OpenGLES31Shape3DInterface) SetPointSize(size float32)

func (*OpenGLES31Shape3DInterface) Terminate

func (this *OpenGLES31Shape3DInterface) Terminate()

type OpenGLES31Texture

type OpenGLES31Texture struct {
	// contains filtered or unexported fields
}

func CreateOpenGLES31Texture

func CreateOpenGLES31Texture(name string) *OpenGLES31Texture

func (*OpenGLES31Texture) Bind

func (ogltex *OpenGLES31Texture) Bind(unit uint32)

func (*OpenGLES31Texture) GetData

func (ogltex *OpenGLES31Texture) GetData() (data []byte, width int, height int)

func (*OpenGLES31Texture) GetHeight

func (ogltex *OpenGLES31Texture) GetHeight() int

func (*OpenGLES31Texture) GetKeyColor

func (ogltex *OpenGLES31Texture) GetKeyColor() color.Color

func (*OpenGLES31Texture) GetModColor

func (ogltex *OpenGLES31Texture) GetModColor() color.Color

func (*OpenGLES31Texture) GetName

func (ogltex *OpenGLES31Texture) GetName() string

func (*OpenGLES31Texture) GetWidth

func (ogltex *OpenGLES31Texture) GetWidth() int

func (*OpenGLES31Texture) Load

func (ogltex *OpenGLES31Texture) Load(data []byte, width, height int, shadowMap bool)

func (*OpenGLES31Texture) LoadFromImage

func (ogltex *OpenGLES31Texture) LoadFromImage(img image.Image)

func (*OpenGLES31Texture) SetBorderColor

func (ogltex *OpenGLES31Texture) SetBorderColor(col color.Color)

func (*OpenGLES31Texture) SetBorderDepth

func (ogltex *OpenGLES31Texture) SetBorderDepth(depth float32)

func (*OpenGLES31Texture) SetFiltering

func (ogltex *OpenGLES31Texture) SetFiltering(filtering int)

func (*OpenGLES31Texture) SetKeyColor

func (ogltex *OpenGLES31Texture) SetKeyColor(col color.Color)

func (*OpenGLES31Texture) SetModColor

func (ogltex *OpenGLES31Texture) SetModColor(col color.Color)

func (*OpenGLES31Texture) SetWrapping

func (ogltex *OpenGLES31Texture) SetWrapping(wrapping int)

func (*OpenGLES31Texture) Terminate

func (ogltex *OpenGLES31Texture) Terminate()

func (*OpenGLES31Texture) Unbind

func (ogltex *OpenGLES31Texture) Unbind(unit uint32)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL