class ResGraphicsFile : public nw::gfx::res::ResFileHeader
Binary resource class that represents files for graphics.
| ResGraphicsFile | Constructor. | |
|---|---|---|
| ptr | Gets a pointer to actual data. | |
| ref | Gets the reference to the actual data. | |
operator ==
|
||
operator !=
|
||
| GetModelsCount | Gets the number of model resources. | |
| GetModels | Gets the model resource. | |
| GetModelsIndex | Gets the index number of the model resource in the dictionary. | |
| GetTexturesCount | Gets the number of texture resources. | |
| GetTextures | Gets the texture resource. | |
| GetTexturesIndex | Gets the index number of the texture resource in the dictionary. | |
| GetLutSetsCount | Gets the number of lookup table set resources. | |
| GetLutSets | Gets a lookup table set resource. | |
| GetLutSetsIndex | Gets the index number of the lookup table set resource in the dictionary. | |
| GetShadersCount | Gets the number of shader resources. | |
| GetShaders | Gets a shader resource. | |
| GetShadersIndex | Gets the index number of the shader resource in the dictionary. | |
| GetCamerasCount | Gets the number of camera resources. | |
| GetCameras | Gets a camera animation resource. | |
| GetCamerasIndex | Gets the index number of camera resources in the dictionary. | |
| GetLightsCount | Gets the number of light resources. | |
| GetLights | Gets a light animation resource. | |
| GetLightsIndex | Gets the index number of the light resource in the dictionary. | |
| GetFogsCount | Gets the number of fog resources. | |
| GetFogs | Get fog resource. | |
| GetFogsIndex | Gets the index number of the fog resource in the dictionary. | |
| GetSceneEnvironmentSettingsCount | Gets the number of scene environment setting resources. | |
| GetSceneEnvironmentSettings | Gets the scene environment setting resource. | |
| GetSceneEnvironmentSettingsIndex | Gets the index number of the scene environment setting resource in the dictionary. | |
| GetSkeletalAnimsCount | Gets the number of skeletal animation resources. | |
| GetSkeletalAnims | Gets the skeletal animation resource. | |
| GetSkeletalAnimsIndex | Gets the index number of the skeletal animation resource in the dictionary. | |
| GetMaterialAnimsCount | Gets the number of material animation resources. | |
| GetMaterialAnims | Gets a material animation resource. | |
| GetMaterialAnimsIndex | Gets the index number of the materials animation resource in the dictionary. | |
| GetVisibilityAnimsCount | Gets the number of visibility animation resource. | |
| GetVisibilityAnims | Gets a visibility animation resource. | |
| GetVisibilityAnimsIndex | Gets the index number of the visibility animation resource in the dictionary. | |
| GetCameraAnimsCount | Gets the number of camera animation resources. | |
| GetCameraAnims | Gets a camera animation resource. | |
| GetCameraAnimsIndex | Gets the index number of the camera animation resource in the dictionary. | |
| GetLightAnimsCount | Gets the number of light animation resources. | |
| GetLightAnims | Gets a light animation resource. | |
| GetLightAnimsIndex | Gets the index number of the light animation resource in the dictionary. | |
| GetEmittersCount | Gets the number of emitter resources. | |
| GetEmitters | Gets the emitter resource. | |
| GetEmittersIndex | Gets the index number of the emitter resource in the dictionary. | |
| Setup | Initializes file contents. Initializes GL objects and resolves external references using the file given by argument. | |
Cleanup
|
Frees a resource. | |
| ForeachModel | Goes though all ResModel in ResGraphicsFile, applying TFunction. |
|
| ForeachMaterial | Goes though all instances of ResMaterial in ResGraphicsFile and applies TFunction. |
|
| ForeachModelMaterial | Traverses all ResModel and ResMaterial objects in ResGraphicsFile and applies TFunction. |
|
ForeachTexture
|
Goes though all ResTexture in ResGraphicsFile, applying TFunction. |
|
ForeachIndexStream
|
Goes through entire ResIndexStream in ResGraphicsFile, applying TFunction. |
|
ForeachVertexStream
|
Goes through entire ResVertexStream in ResGraphicsFile, applying TFunction. |
|
| GetSignature | Gets the signature.(Inherited from ResFileHeader. |
|
| SetSignature | Sets the signature.(Inherited from ResFileHeader. |
|
| GetByteOrder | Gets the byte order.(Inherited from ResFileHeader. |
|
| SetByteOrder | Sets the byte order.(Inherited from ResFileHeader. |
|
GetHeaderSize
|
Gets the header size.(Inherited from ResFileHeader. |
|
| SetHeaderSize | Sets the header size.(Inherited from ResFileHeader. |
|
GetRevision
|
Gets the revision information.(Inherited from ResFileHeader. |
|
| SetRevision | Sets the revision information.(Inherited from ResFileHeader. |
|
| GetFileSize | Gets the file size.(Inherited from ResFileHeader. |
|
| SetFileSize | Sets the file size.(Inherited from ResFileHeader. |
|
| GetNumBlocks | Gets the number of blocks.(Inherited from ResFileHeader. |
|
| SetNumBlocks | Sets the number of blocks.(Inherited from ResFileHeader. |
|
| GetFileHeader | Gets a binary file header.(Inherited from ResFileHeader. |
|
| GetFirstBlockHeader | Gets binary block information.(Inherited from ResFileHeader. |
|
| GetImageBlockData | Gets the start data address of an image data block. (Inherited from ResFileHeader. |
|
| GetImageBlockDataSize | Gets the data size of the image data block.(Inherited from ResFileHeader. |
|
IsValid
|
Determines whether a pointer to a resource is null.(Inherited from ResCommonBase. |
|
| S | GetClassName |
nw::ut::ResCommonBase
nw::ut::ResCommon
nw::gfx::res::ResFileHeader
nw::gfx::res::ResGraphicsFile
CONFIDENTIAL