Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
IQ3LevelMesh.hpp
1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in nirtcpp/nirtcpp.hpp
4
5#ifndef NIRT_I_Q3_LEVEL_MESH_HPP_INCLUDED
6#define NIRT_I_Q3_LEVEL_MESH_HPP_INCLUDED
7
8#include <nirtcpp/core/engine/IAnimatedMesh.hpp>
9#include <nirtcpp/core/engine/IQ3Shader.hpp>
10
11namespace nirt::scene
12{
14
16{
17public:
18
20
22 virtual const quake3::IShader* getShader( const c8* filename, bool fileNameIsValid=true ) = 0;
23
25 virtual const quake3::IShader* getShader(u32 index) const = 0;
26
29
31
34 virtual IMesh* getBrushEntityMesh(s32 num) const = 0;
35
37 virtual IMesh* getBrushEntityMesh(quake3::IEntity &ent) const = 0;
38};
39
40} // namespace nirt::scene
41
42#endif
43
Axis aligned bounding box in 3d dimensional space.
Definition aabbox3d.hpp:22
Interface for an animated mesh.
Definition IAnimatedMesh.hpp:21
Class which holds the geometry of an object.
Definition IMesh.hpp:72
Interface for a Mesh which can be loaded directly from a Quake3 .bsp-file.
Definition IQ3LevelMesh.hpp:16
virtual const quake3::IShader * getShader(const c8 *filename, bool fileNameIsValid=true)=0
loads the shader definition from file
virtual const quake3::IShader * getShader(u32 index) const =0
returns a already loaded Shader
virtual IMesh * getBrushEntityMesh(s32 num) const =0
returns the requested brush entity
virtual IMesh * getBrushEntityMesh(quake3::IEntity &ent) const =0
returns the requested brush entity
virtual quake3::tQ3EntityList & getEntityList()=0
get's an interface to the entities
A Parsed Shader Holding Variables ordered in Groups.
Definition IQ3Shader.hpp:652
All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...
Definition nirtcpp.hpp:386
signed int s32
32 bit signed variable.
Definition irrTypes.hpp:72
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64
char c8
8 bit character variable.
Definition irrTypes.hpp:37

Nirtcpp    @cppfx.xyz

Esvcpp    esv::print