5#ifndef NIRT_I_RENDER_TARGET_HPP_INCLUDED
6#define NIRT_I_RENDER_TARGET_HPP_INCLUDED
8#include <nirtcpp/core/engine/IReferenceCounted.hpp>
9#include <nirtcpp/core/engine/EDriverTypes.hpp>
10#include <nirtcpp/core/engine/irrArray.hpp>
66 setTextures(texture.const_pointer(), texture.size(), depthStencil, cubeSurfaces.const_pointer(), cubeSurfaces.size());
88 setTextures(&texture, 1, depthStencil, &cubeSurface, 1);
Base class of most objects of the Nirtcpp Engine.
Definition IReferenceCounted.hpp:46
Axis aligned bounding box in 3d dimensional space.
Definition aabbox3d.hpp:22
Interface of a Render Target.
Definition IRenderTarget.hpp:31
virtual void setTextures(ITexture *const *textures, u32 numTextures, ITexture *depthStencil, const E_CUBE_SURFACE *cubeSurfaces=0, u32 numCubeSurfaces=0)=0
Set multiple textures.
core::array< ITexture * > Textures
Textures assigned to render target.
Definition IRenderTarget.hpp:109
void setTexture(ITexture *texture, ITexture *depthStencil, E_CUBE_SURFACE cubeSurface)
Set one cube surface texture.
Definition IRenderTarget.hpp:84
ITexture * DepthStencil
Depth or packed depth-stencil texture assigned to render target.
Definition IRenderTarget.hpp:112
const core::array< E_CUBE_SURFACE > & getCubeSurfaces() const
Returns an array of active surface for cube textures.
Definition IRenderTarget.hpp:52
void setTexture(const core::array< ITexture * > &texture, ITexture *depthStencil, const core::array< E_CUBE_SURFACE > &cubeSurfaces=core::array< E_CUBE_SURFACE >())
Set multiple textures.
Definition IRenderTarget.hpp:64
core::array< E_CUBE_SURFACE > CubeSurfaces
Active surface of cube textures.
Definition IRenderTarget.hpp:115
E_DRIVER_TYPE DriverType
Driver type of render target.
Definition IRenderTarget.hpp:118
void setTexture(ITexture *texture, ITexture *depthStencil)
Definition IRenderTarget.hpp:71
E_DRIVER_TYPE getDriverType() const
Get driver type of render target.
Definition IRenderTarget.hpp:97
ITexture * getDepthStencil() const
Returns a of previously set depth / depth-stencil texture.
Definition IRenderTarget.hpp:46
const core::array< ITexture * > & getTexture() const
Returns an array of previously set textures.
Definition IRenderTarget.hpp:40
IRenderTarget()
constructor
Definition IRenderTarget.hpp:35
Interface of a Video Driver dependent Texture.
Definition ITexture.hpp:186
E_CUBE_SURFACE
Enumeration of cube texture surfaces.
Definition IRenderTarget.hpp:20
E_DRIVER_TYPE
An enum for all types of drivers the Nirtcpp Engine supports.
Definition EDriverTypes.hpp:17
@ EDT_NULL
Null driver, useful for applications to run the engine without visualization.
Definition EDriverTypes.hpp:21
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64