Documentation ¶
Index ¶
- func RunRenderLoop(scene IScene)
- type IDrawable
- type IScene
- type ITransparentDrawable
- type SceneBase
- func (scene *SceneBase) AddOpaqueObject(obj IDrawable)
- func (scene *SceneBase) AddPreRenderObject(obj IDrawable)
- func (scene *SceneBase) AddTransparentObject(obj ITransparentDrawable)
- func (scene *SceneBase) Clear()
- func (scene *SceneBase) Draw(shader Shader.IShaderProgram, invoker IDrawable, origin IScene, ...) error
- func (scene *SceneBase) GetCamera() Camera.ICamera
- func (scene *SceneBase) GetWindow() Window.IWindow
- func (scene *SceneBase) Start() error
- func (scene *SceneBase) Tick(timeDelta float32)
- func (scene *SceneBase) UnmarshalYAML(value *yaml.Node) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunRenderLoop ¶
func RunRenderLoop(scene IScene)
Types ¶
type ITransparentDrawable ¶
type ITransparentDrawable interface { IDrawable GetPosition() GeometryMath.Vector3 }
type SceneBase ¶
type SceneBase struct { Window Window.SDLWindow `yaml:"window"` Camera Camera.UBOCamera `yaml:"camera"` CullFunction Function.CullFunction `yaml:"culling"` DepthFunction Function.DepthFunction `yaml:"blend"` BlendFunction Function.BlendFunction `yaml:"depthTest"` // contains filtered or unexported fields }
func (*SceneBase) AddOpaqueObject ¶
func (*SceneBase) AddPreRenderObject ¶
func (*SceneBase) AddTransparentObject ¶
func (scene *SceneBase) AddTransparentObject(obj ITransparentDrawable)
func (*SceneBase) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.