5#ifndef DCPP_I_RENDER_TARGET_HPP_INCLUDED
6#define DCPP_I_RENDER_TARGET_HPP_INCLUDED
8#include <duckcpp/core/engine/IReferenceCounted.hpp>
9#include <duckcpp/core/engine/EDriverTypes.hpp>
10#include <duckcpp/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 Duckcpp 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
E_DRIVER_TYPE getDriverType() const
Get driver type of render target.
Definition IRenderTarget.hpp:97
virtual void setTextures(ITexture *const *textures, dcpp::uint32_kt numTextures, ITexture *depthStencil, const E_CUBE_SURFACE *cubeSurfaces=0, dcpp::uint32_kt numCubeSurfaces=0)=0
Set multiple textures.
dcpp::nub::array< ITexture * > Textures
Textures assigned to render target.
Definition IRenderTarget.hpp:109
ITexture * DepthStencil
Depth or packed depth-stencil texture assigned to render target.
Definition IRenderTarget.hpp:112
dcpp::nub::array< E_CUBE_SURFACE > CubeSurfaces
Active surface of cube textures.
Definition IRenderTarget.hpp:115
ITexture * getDepthStencil() const
Returns a of previously set depth / depth-stencil texture.
Definition IRenderTarget.hpp:46
const dcpp::nub::array< E_CUBE_SURFACE > & getCubeSurfaces() const
Returns an array of active surface for cube textures.
Definition IRenderTarget.hpp:52
E_DRIVER_TYPE DriverType
Driver type of render target.
Definition IRenderTarget.hpp:118
IRenderTarget()
constructor
Definition IRenderTarget.hpp:35
void setTexture(const dcpp::nub::array< ITexture * > &texture, ITexture *depthStencil, const dcpp::nub::array< E_CUBE_SURFACE > &cubeSurfaces=dcpp::nub::array< E_CUBE_SURFACE >())
Set multiple textures.
Definition IRenderTarget.hpp:64
const dcpp::nub::array< ITexture * > & getTexture() const
Returns an array of previously set textures.
Definition IRenderTarget.hpp:40
void setTexture(ITexture *texture, ITexture *depthStencil, E_CUBE_SURFACE cubeSurface)
Set one cube surface texture.
Definition IRenderTarget.hpp:84
void setTexture(ITexture *texture, ITexture *depthStencil)
Definition IRenderTarget.hpp:71
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 Duckcpp Engine supports.
Definition EDriverTypes.hpp:17
@ EDT_NULL
dcpp::video::NULL
Definition EDriverTypes.hpp:22
As of Duckcpp 1.6, position2d is a synonym for vector2d.
Definition shared_device.hpp:34
unsigned int uint32_kt
32 bit unsigned variable.
Definition irrTypes.hpp:64