Class ModelMesh
java.lang.Object
zombie.asset.Asset
zombie.core.skinnedmodel.model.ModelMesh
Created by LEMMYATI on 03/01/14.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Asset
Asset.ObserverCallback, Asset.State -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AssetTypebooleanfinal org.joml.Vector3ffinal HashMap<String, AnimationClip> final org.joml.Vector3fintorg.joml.Matrix4f -
Constructor Summary
ConstructorsConstructorDescriptionModelMesh(AssetPath path, AssetManager manager, ModelMesh.MeshAssetParams params) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidvoidDrawInstanced(Shader shader, int instanceCount) getType()booleanisReady()voidvoidvoidMethods inherited from class Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, isEmpty, isFailure, onCreated, removeDependency
-
Field Details
-
vb
-
minXyz
public final org.joml.Vector3f minXyz -
maxXyz
public final org.joml.Vector3f maxXyz -
meshAnimationClips
-
skinningData
-
softwareMesh
-
assetParams
-
transform
public org.joml.Matrix4f transform -
hasVbo
public boolean hasVbo -
animationsMesh
-
postProcess
-
modificationCount
public int modificationCount -
fullPath
-
ASSET_TYPE
-
-
Constructor Details
-
ModelMesh
-
-
Method Details
-
SetVertexBuffer
-
Draw
-
DrawInstanced
-
onBeforeReady
public void onBeforeReady() -
isReady
-
setAssetParams
- Overrides:
setAssetParamsin classAsset
-
getType
-
clear
public void clear()
-