Surface class

Base surface Resource, it describes a single surface to be rendered.

Inheritance

Constructors

Surface.new({required List<Vertex> vertices, required List<int> indices, Material? material, Map<int, int>? jointMap, bool calculateNormals = true})
Base surface Resource, it describes a single surface to be rendered.

Properties

aabb Aabb3
no setter
hashCode int
The hash code for this object.
no setterinherited
indexCount int
no setter
indicesBytes int
no setter
jointMap Map<int, int>?
getter/setter pair
material Material
getter/setter pair
recreateResource bool
getter/setter pairinherited-setteroverride-getter
resource DeviceBuffer?
no setterinherited
resourceSizeInByes int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vertexCount int
no setter
verticesBytes int
no setter

Methods

createResource() DeviceBuffer?
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited