Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CubeModule ¶
type CubeModule struct {
// contains filtered or unexported fields
}
func NewCubeModule ¶
func NewCubeModule(app *app.AppBase, ui *gui.ImGUIModule) (*CubeModule, error)
func (*CubeModule) CreateCommandBuffers ¶
func (c *CubeModule) CreateCommandBuffers(renderPass vk.RenderPass, framebuffer vk.Framebuffer, app *app.AppBase) ([]vk.CommandBuffer, error)
func (*CubeModule) Destroy ¶
func (c *CubeModule) Destroy()
func (*CubeModule) DrawUI ¶
func (c *CubeModule) DrawUI()
func (*CubeModule) NewFrame ¶
func (c *CubeModule) NewFrame(base *app.AppBase)
func (*CubeModule) PostFrame ¶
func (c *CubeModule) PostFrame()
type Mesh ¶
type Mesh struct { UBO *UBO VertexData VertexData IndexData IndexData VertexResource *vkg.BufferResource IndexResource *vkg.BufferResource UBOResource *vkg.BufferResource // contains filtered or unexported fields }
type UBO ¶
func (*UBO) Descriptor ¶
func (u *UBO) Descriptor() *vkg.Descriptor
type VertexData ¶
type VertexData []Vertex
func (VertexData) Bytes ¶
func (v VertexData) Bytes() []byte
func (VertexData) GetAttributeDescriptions ¶
func (v VertexData) GetAttributeDescriptions() []vk.VertexInputAttributeDescription
func (VertexData) GetBindingDescription ¶
func (v VertexData) GetBindingDescription() vk.VertexInputBindingDescription
Click to show internal directories.
Click to hide internal directories.