35 , m_enable_mipmaps( 0 )
42 virtual int resize(
int width,
int height )
49 virtual void set_shadow_map(
int shadow_map ) { m_shadow_map = shadow_map; }
50 virtual void set_enable_mipmaps(
int enable_mipmaps ) { m_enable_mipmaps = enable_mipmaps; }
51 virtual void set_texture_unit(
int texture_unit ) { m_texture_unit = texture_unit; }
53 int get_width() {
return m_width; }
54 int get_height() {
return m_height; }
68 virtual void bind() = 0;
71 virtual void clear() = 0;
73 virtual void unbind() = 0;
75 unsigned int virtual get_texture_id() = 0;
76 unsigned int virtual get_frame_buffer_id() = 0;
77 unsigned int virtual get_depth_texture_id() = 0;
A class that represents a frame buffer, this is used by the graphics api to enable shadow maps in pro...
Definition: diguyGraphicsFrameBuffer.h:26