Property | Type | Description | |
---|---|---|---|
baseDirectory | string | ||
cmdPool | CommandPool | ||
gltf | glTFLoader.Schema.Gltf | ||
loadedBuffers | Memory |
||
transferQ | Queue |
Property | Type | Description | |
---|---|---|---|
loadDataUri | byte[] | ||
loadDataUri | byte[] |
Method | 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 |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
loadDataUri ( glTFLoader.Schema.Buffer buff ) : byte[] | ||
loadDataUri ( glTFLoader.Schema.Image img ) : byte[] |
public BuildTexArray ( Image &texArray, uint firstImg ) : void | ||
texArray | Image | |
firstImg | uint | |
return | void |
public GetVertexCount ( ulong &vertexCount, ulong &indexCount, VkIndexType &largestIndexType ) : void | ||
vertexCount | ulong | |
indexCount | ulong | |
largestIndexType | VkIndexType | |
return | void |
public LoadMeshes ( VkIndexType indexType, Buffer vbo, ulong vboOffset, Buffer ibo, ulong iboOffset ) : Mesh[] | ||
indexType | VkIndexType | |
vbo | Buffer | |
vboOffset | ulong | |
ibo | Buffer | |
iboOffset | ulong | |
return | Mesh[] |
public LoadScenes ( int &defaultScene ) : Scene[] | ||
defaultScene | int | |
return | Scene[] |
public ensureBufferIsLoaded ( int bufferIdx ) : void | ||
bufferIdx | int | |
return | void |
public glTFLoader ( string path, Queue _transferQ, CommandPool _cmdPool ) : System | ||
path | string | |
_transferQ | Queue | |
_cmdPool | CommandPool | |
return | System |
public loadNode ( Node parentNode, glTFLoader.Schema.Node gltfNode ) : void | ||
parentNode | Node | |
gltfNode | glTFLoader.Schema.Node | |
return | void |