C# Class vke.glTF.glTFLoader

Loading context with I as the vertex index type (uint16,uint32)
Inheritance: IDisposable
Afficher le fichier Open project: jpbruyere/vke.net Class Usage Examples

Méthodes publiques

Свойство Type Description
baseDirectory string
cmdPool CommandPool
gltf glTFLoader.Schema.Gltf
loadedBuffers Memory[]
transferQ Queue

Private Properties

Свойство Type Description
loadDataUri byte[]
loadDataUri byte[]

Méthodes publiques

Méthode Description
BuildTexArray ( Image &texArray, uint firstImg ) : void

build texture array

Dispose ( ) : void
GetVertexCount ( ulong &vertexCount, ulong &indexCount, VkIndexType &largestIndexType ) : void
LoadImages ( ) : Image[]

Load model images as separate texture in a c# array

LoadMaterial ( ) : Material[]
LoadMeshes ( VkIndexType indexType, Buffer vbo, ulong vboOffset, Buffer ibo, ulong iboOffset ) : Mesh[]
LoadScenes ( int &defaultScene ) : Scene[]
ensureBufferIsLoaded ( int bufferIdx ) : void
glTFLoader ( string path, Queue _transferQ, CommandPool _cmdPool ) : System
loadNode ( Node parentNode, glTFLoader.Schema.Node gltfNode ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
loadDataUri ( glTFLoader.Schema.Buffer buff ) : byte[]
loadDataUri ( glTFLoader.Schema.Image img ) : byte[]

Method Details

BuildTexArray() public méthode

build texture array
public BuildTexArray ( Image &texArray, uint firstImg ) : void
texArray Image
firstImg uint
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetVertexCount() public méthode

public GetVertexCount ( ulong &vertexCount, ulong &indexCount, VkIndexType &largestIndexType ) : void
vertexCount ulong
indexCount ulong
largestIndexType VkIndexType
Résultat void

LoadImages() public méthode

Load model images as separate texture in a c# array
public LoadImages ( ) : Image[]
Résultat Image[]

LoadMaterial() public méthode

public LoadMaterial ( ) : Material[]
Résultat Material[]

LoadMeshes() public méthode

public LoadMeshes ( VkIndexType indexType, Buffer vbo, ulong vboOffset, Buffer ibo, ulong iboOffset ) : Mesh[]
indexType VkIndexType
vbo Buffer
vboOffset ulong
ibo Buffer
iboOffset ulong
Résultat Mesh[]

LoadScenes() public méthode

public LoadScenes ( int &defaultScene ) : Scene[]
defaultScene int
Résultat Scene[]

ensureBufferIsLoaded() public méthode

public ensureBufferIsLoaded ( int bufferIdx ) : void
bufferIdx int
Résultat void

glTFLoader() public méthode

public glTFLoader ( string path, Queue _transferQ, CommandPool _cmdPool ) : System
path string
_transferQ Queue
_cmdPool CommandPool
Résultat System

loadNode() public méthode

public loadNode ( Node parentNode, glTFLoader.Schema.Node gltfNode ) : void
parentNode Node
gltfNode glTFLoader.Schema.Node
Résultat void

Property Details

baseDirectory public_oe property

public string baseDirectory
Résultat string

cmdPool public_oe property

public CommandPool cmdPool
Résultat CommandPool

gltf public_oe property

public Gltf,glTFLoader.Schema gltf
Résultat glTFLoader.Schema.Gltf

loadedBuffers public_oe property

public Memory[] loadedBuffers
Résultat Memory[]

transferQ public_oe property

public Queue transferQ
Résultat Queue