Documentation
¶
Index ¶
- type Frame
- type Model
- func (m *Model) Frame(index int) *Frame
- func (m *Model) Frames() <-chan *Frame
- func (m *Model) Name() string
- func (m *Model) NumFrames() int
- func (m *Model) NumSurfaces() int
- func (m *Model) NumTags() int
- func (m *Model) Surface(index int) *Surface
- func (m *Model) Surfaces() <-chan *Surface
- func (m *Model) Tag(index int) *Tag
- func (m *Model) Tags() <-chan *Tag
- type Shader
- type Surface
- func (s *Surface) Name() string
- func (s *Surface) NumFrames() int
- func (s *Surface) NumShaders() int
- func (s *Surface) NumTriangles() int
- func (s *Surface) NumVertices() int
- func (s *Surface) Shader(index int) Shader
- func (s *Surface) Shaders() <-chan Shader
- func (s *Surface) TexCoord(index int) TexCoord
- func (s *Surface) TexCoords() <-chan TexCoord
- func (s *Surface) Triangle(index int) Triangle
- func (s *Surface) Triangles() <-chan Triangle
- func (s *Surface) Vertex(frame, index int) Vertex
- func (s *Surface) Vertices(frame int) <-chan Vertex
- type Tag
- type TagFrame
- type TexCoord
- type Triangle
- type Vec3
- type Vertex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
func (*Model) NumSurfaces ¶
type Surface ¶
type Surface struct {
// contains filtered or unexported fields
}
func (*Surface) NumFrames ¶
NumFrames returns the number of frames of vertex data held by the surface. This should be equal to its parent model's NumFrames result.
func (*Surface) NumShaders ¶
func (*Surface) NumTriangles ¶
func (*Surface) NumVertices ¶
Click to show internal directories.
Click to hide internal directories.