Skip to content

package tests

import "kaiju/tests/rendering_tests"

Constants

Functions

SetupConsole

func SetupConsole(host *engine.Host)

Types

BoneTransform

struct

type BoneTransform struct {
    Transform *matrix.Transform
    Skin      matrix.Mat4
}

TestBasicShaderData

struct

type TestBasicShaderData struct {
    rendering.ShaderDataBase
    Color matrix.Color
}

TestBasicShaderData.Size

func (t TestBasicShaderData) Size() int

TestBasicSkinnedShaderData

struct

type TestBasicSkinnedShaderData struct {
    Bones []BoneTransform

    rendering.ShaderDataBase
    Color     matrix.Color
    SkinIndex int32
    // Has unexported fields.
}

TestBasicSkinnedShaderData.NamedDataInstanceSize

func (t *TestBasicSkinnedShaderData) NamedDataInstanceSize(name string) int

TestBasicSkinnedShaderData.NamedDataPointer

func (t *TestBasicSkinnedShaderData) NamedDataPointer(name string) unsafe.Pointer

TestBasicSkinnedShaderData.Size

func (t TestBasicSkinnedShaderData) Size() int

TestBasicSkinnedShaderData.UpdateNamedData

func (t *TestBasicSkinnedShaderData) UpdateNamedData(index, capacity int, name string) bool