C# 클래스 vke.glTF.glTFLoader

Loading context with I as the vertex index type (uint16,uint32)
상속: IDisposable
파일 보기 프로젝트 열기: jpbruyere/vke.net 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
baseDirectory string
cmdPool CommandPool
gltf glTFLoader.Schema.Gltf
loadedBuffers Memory[]
transferQ Queue

Private Properties

프로퍼티 타입 설명
loadDataUri byte[]
loadDataUri byte[]

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
loadDataUri ( glTFLoader.Schema.Buffer buff ) : byte[]
loadDataUri ( glTFLoader.Schema.Image img ) : byte[]

메소드 상세

BuildTexArray() 공개 메소드

build texture array
public BuildTexArray ( Image &texArray, uint firstImg ) : void
texArray Image
firstImg uint
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetVertexCount() 공개 메소드

public GetVertexCount ( ulong &vertexCount, ulong &indexCount, VkIndexType &largestIndexType ) : void
vertexCount ulong
indexCount ulong
largestIndexType VkIndexType
리턴 void

LoadImages() 공개 메소드

Load model images as separate texture in a c# array
public LoadImages ( ) : Image[]
리턴 Image[]

LoadMaterial() 공개 메소드

public LoadMaterial ( ) : Material[]
리턴 Material[]

LoadMeshes() 공개 메소드

public LoadMeshes ( VkIndexType indexType, Buffer vbo, ulong vboOffset, Buffer ibo, ulong iboOffset ) : Mesh[]
indexType VkIndexType
vbo Buffer
vboOffset ulong
ibo Buffer
iboOffset ulong
리턴 Mesh[]

LoadScenes() 공개 메소드

public LoadScenes ( int &defaultScene ) : Scene[]
defaultScene int
리턴 Scene[]

ensureBufferIsLoaded() 공개 메소드

public ensureBufferIsLoaded ( int bufferIdx ) : void
bufferIdx int
리턴 void

glTFLoader() 공개 메소드

public glTFLoader ( string path, Queue _transferQ, CommandPool _cmdPool ) : System
path string
_transferQ Queue
_cmdPool CommandPool
리턴 System

loadNode() 공개 메소드

public loadNode ( Node parentNode, glTFLoader.Schema.Node gltfNode ) : void
parentNode Node
gltfNode glTFLoader.Schema.Node
리턴 void

프로퍼티 상세

baseDirectory 공개적으로 프로퍼티

public string baseDirectory
리턴 string

cmdPool 공개적으로 프로퍼티

public CommandPool cmdPool
리턴 CommandPool

gltf 공개적으로 프로퍼티

public Gltf,glTFLoader.Schema gltf
리턴 glTFLoader.Schema.Gltf

loadedBuffers 공개적으로 프로퍼티

public Memory[] loadedBuffers
리턴 Memory[]

transferQ 공개적으로 프로퍼티

public Queue transferQ
리턴 Queue