Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command interface { Run() ReadPermissions() MeshReadPermission WritePermissions() MeshWritePermission }
type MeshReadPermission ¶ added in v0.9.0
type MeshReadPermission struct { Everything *ReadPermission[modeling.Mesh] Indices *ReadIndicesPermission Materials *ReadArrayPermission[modeling.MeshMaterial] V1Permissions map[string]ReadArrayPermission[float64] V2Permissions map[string]ReadArrayPermission[vector2.Float64] V3Permissions map[string]ReadArrayPermission[vector3.Float64] V4Permissions map[string]ReadArrayPermission[vector4.Float64] }
type MeshWritePermission ¶ added in v0.9.0
type MeshWritePermission struct { Everything *WritePermission[modeling.Mesh] Indices *WriteArrayPermission[int] Materials *WriteArrayPermission[modeling.MeshMaterial] V1Permissions map[string]WriteArrayPermission[float64] V2Permissions map[string]WriteArrayPermission[vector2.Float64] V3Permissions map[string]WriteArrayPermission[vector3.Float64] V4Permissions map[string]WriteArrayPermission[vector4.Float64] }
type ReadArrayPermission ¶ added in v0.9.0
type ReadArrayPermission[T any] struct { // contains filtered or unexported fields }
func (ReadArrayPermission[T]) Data ¶ added in v0.9.0
func (rdep ReadArrayPermission[T]) Data() *iter.ArrayIterator[T]
type ReadIndicesPermission ¶ added in v0.9.0
type ReadIndicesPermission struct { ReadArrayPermission[int] // contains filtered or unexported fields }
func (ReadIndicesPermission) VertexNeighborTable ¶ added in v0.9.0
func (ip ReadIndicesPermission) VertexNeighborTable() modeling.VertexLUT
type ReadPermission ¶ added in v0.9.0
type ReadPermission[T any] struct { // contains filtered or unexported fields }
func (ReadPermission[T]) Data ¶ added in v0.9.0
func (rdep ReadPermission[T]) Data() T
type WriteArrayPermission ¶ added in v0.9.0
type WriteArrayPermission[T any] struct { // contains filtered or unexported fields }
func (WriteArrayPermission[T]) Data ¶ added in v0.9.0
func (wap WriteArrayPermission[T]) Data() []T
type WritePermission ¶ added in v0.9.0
type WritePermission[T any] struct { // contains filtered or unexported fields }
func (WritePermission[T]) Data ¶ added in v0.9.0
func (wp WritePermission[T]) Data() T
func (*WritePermission[T]) Write ¶ added in v0.9.0
func (wp *WritePermission[T]) Write(val T)
Click to show internal directories.
Click to hide internal directories.