3#include <RendererCore/Meshes/MeshBufferResource.h>
4#include <RendererCore/Meshes/MeshResourceDescriptor.h>
32 float m_fMaxBoneVertexOffset = 0.0f;
45 static plUInt32 s_uiMeshBufferNameSuffix;
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
Definition DynamicArray.h:81
Definition HashTable.h:333
Definition MeshResourceDescriptor.h:9
Definition MeshResource.h:9
plArrayPtr< const plMeshResourceDescriptor::SubMesh > GetSubMeshes() const
Returns the array of sub-meshes in this mesh.
Definition MeshResource.h:18
const plMeshBufferResourceHandle & GetMeshBuffer() const
Returns the mesh buffer that is used by this resource.
Definition MeshResource.h:21
plArrayPtr< const plMaterialResourceHandle > GetMaterials() const
Returns the default materials for this mesh.
Definition MeshResource.h:24
const plBoundingBoxSphere & GetBounds() const
Returns the bounds of this mesh.
Definition MeshResource.h:27
The base class for all resources.
Definition Resource.h:10
virtual plResourceLoadDesc UnloadData(Unload WhatToUnload)=0
Requests the resource to unload another quality level. If bFullUnload is true, the resource should un...
virtual plResourceLoadDesc UpdateContent(plStreamReader *pStream)=0
Called whenever more data for the resource is available. The resource must read the stream to update ...
virtual void UpdateMemoryUsage(MemoryUsage &out_NewMemoryUsage)=0
This function must be overridden by all resource types.
Interface for binary in (read) streams.
Definition Stream.h:22
Describes in which loading state a resource currently is, and how many different quality levels there...
Definition Declarations.h:102