Skip to content

package framework

import "kaiju/framework"

Functions

CreateDrawingFromMeshUnlit

func CreateDrawingFromMeshUnlit(host *engine.Host, mesh *rendering.Mesh, textures []*rendering.Texture) (rendering.Drawing, error)

CreateDrawingFromMeshUnlitTransparent

func CreateDrawingFromMeshUnlitTransparent(host *engine.Host, mesh *rendering.Mesh, textures []*rendering.Texture) (rendering.Drawing, error)

Types

EncryptedInt32

struct

type EncryptedInt32 struct {
    RawValue int32
    // Has unexported fields.
}

EncryptedInt32.Add

func (e *EncryptedInt32) Add(amount int32)

EncryptedInt32.Decrement

func (e *EncryptedInt32) Decrement()

EncryptedInt32.Decrypt

func (e *EncryptedInt32) Decrypt()

EncryptedInt32.Encrypt

func (e *EncryptedInt32) Encrypt()

EncryptedInt32.Increment

func (e *EncryptedInt32) Increment()

EncryptedInt32.SetValue

func (e *EncryptedInt32) SetValue(value int32)

EncryptedInt32.Subtract

func (e *EncryptedInt32) Subtract(amount int32)

EncryptedInt32.Value

func (e EncryptedInt32) Value() int32

ModelDrawing

struct

type ModelDrawing struct {
    Node     *load_result.Node
    MeshName string
    Drawing  rendering.Drawing
}

ModelDrawingSlice

[]ModelDrawing

type ModelDrawingSlice []ModelDrawing

CreateDrawingsBasic

func CreateDrawingsBasic(host *engine.Host, res load_result.Result) (ModelDrawingSlice, error)

CreateDrawingsPBR

func CreateDrawingsPBR(host *engine.Host, res load_result.Result) (ModelDrawingSlice, error)

CreateDrawingsUnlit

func CreateDrawingsUnlit(host *engine.Host, res load_result.Result) (ModelDrawingSlice, error)

CreateDrawingsUnlitTransparent

func CreateDrawingsUnlitTransparent(host *engine.Host, res load_result.Result) (ModelDrawingSlice, error)

ModelDrawingSlice.AllDrawings

func (s ModelDrawingSlice) AllDrawings() []rendering.Drawing

ModelDrawingSlice.AllForNode

func (s ModelDrawingSlice) AllForNode(node *load_result.Node) []ModelDrawing