Wizard Engine
2D cross-platform game engine built around SDL2
 
Loading...
Searching...
No Matches
wze::renderer Class Referencefinal

Static Public Member Functions

static float origo_x ()
 
static void set_origo_x (float origo_x)
 
static float origo_y ()
 
static void set_origo_y (float origo_y)
 
static uint8_t background_color_r ()
 
static void set_background_color_r (uint8_t background_color_r)
 
static uint8_t background_color_g ()
 
static void set_background_color_g (uint8_t background_color_g)
 
static uint8_t background_color_b ()
 
static void set_background_color_b (uint8_t background_color_b)
 
static std::shared_ptr< texture > const & background_texture ()
 
static void set_background_texture (std::shared_ptr< texture > const &background_texture)
 
static uint8_t space_color_r ()
 
static void set_space_color_r (uint8_t space_color_r)
 
static uint8_t space_color_g ()
 
static void set_space_color_g (uint8_t space_color_g)
 
static uint8_t space_color_b ()
 
static void set_space_color_b (uint8_t space_color_b)
 
static uint8_t space_color_a ()
 
static void set_space_color_a (uint8_t space_color_a)
 
static std::shared_ptr< texture > const & space_texture ()
 
static void set_space_texture (std::shared_ptr< texture > const &space_texture)
 
static uint8_t plane_color_r ()
 
static void set_plane_color_r (uint8_t plane_color_r)
 
static uint8_t plane_color_g ()
 
static void set_plane_color_g (uint8_t plane_color_g)
 
static uint8_t plane_color_b ()
 
static void set_plane_color_b (uint8_t plane_color_b)
 
static uint8_t plane_color_a ()
 
static void set_plane_color_a (uint8_t plane_color_a)
 

Detailed Description

Definition at line 35 of file renderer.hpp.

Member Function Documentation

◆ origo_x()

float wze::renderer::origo_x ( )
staticnodiscard

Definition at line 144 of file renderer.cpp.

144 {
145 return _origo_x;
146}

◆ set_origo_x()

void wze::renderer::set_origo_x ( float origo_x)
static

Definition at line 148 of file renderer.cpp.

148 {
149 _origo_x = origo_x;
150}

◆ origo_y()

float wze::renderer::origo_y ( )
staticnodiscard

Definition at line 152 of file renderer.cpp.

152 {
153 return _origo_y;
154}

◆ set_origo_y()

void wze::renderer::set_origo_y ( float origo_y)
static

Definition at line 156 of file renderer.cpp.

156 {
157 _origo_y = origo_y;
158}

◆ background_color_r()

uint8_t wze::renderer::background_color_r ( )
staticnodiscard

Definition at line 164 of file renderer.cpp.

164 {
165 return _background_color_r;
166}

◆ set_background_color_r()

void wze::renderer::set_background_color_r ( uint8_t background_color_r)
static

Definition at line 168 of file renderer.cpp.

168 {
169 _background_color_r = background_color_r;
170}

◆ background_color_g()

uint8_t wze::renderer::background_color_g ( )
staticnodiscard

Definition at line 172 of file renderer.cpp.

172 {
173 return _background_color_g;
174}

◆ set_background_color_g()

void wze::renderer::set_background_color_g ( uint8_t background_color_g)
static

Definition at line 176 of file renderer.cpp.

176 {
177 _background_color_g = background_color_g;
178}

◆ background_color_b()

uint8_t wze::renderer::background_color_b ( )
staticnodiscard

Definition at line 180 of file renderer.cpp.

180 {
181 return _background_color_b;
182}

◆ set_background_color_b()

void wze::renderer::set_background_color_b ( uint8_t background_color_b)
static

Definition at line 184 of file renderer.cpp.

184 {
185 _background_color_b = background_color_b;
186}

◆ background_texture()

std::shared_ptr< wze::texture > const & wze::renderer::background_texture ( )
staticnodiscard

Definition at line 188 of file renderer.cpp.

188 {
189 return _background_texture;
190}

◆ set_background_texture()

void wze::renderer::set_background_texture ( std::shared_ptr< texture > const & background_texture)
static

Definition at line 192 of file renderer.cpp.

193 {
194 _background_texture = background_texture;
195}

◆ space_color_r()

uint8_t wze::renderer::space_color_r ( )
staticnodiscard

Definition at line 197 of file renderer.cpp.

197 {
198 return _space_color_r;
199}

◆ set_space_color_r()

void wze::renderer::set_space_color_r ( uint8_t space_color_r)
static

Definition at line 201 of file renderer.cpp.

201 {
202 _space_color_r = space_color_r;
203}

◆ space_color_g()

uint8_t wze::renderer::space_color_g ( )
staticnodiscard

Definition at line 205 of file renderer.cpp.

205 {
206 return _space_color_g;
207}

◆ set_space_color_g()

void wze::renderer::set_space_color_g ( uint8_t space_color_g)
static

Definition at line 209 of file renderer.cpp.

209 {
210 _space_color_g = space_color_g;
211}

◆ space_color_b()

uint8_t wze::renderer::space_color_b ( )
staticnodiscard

Definition at line 213 of file renderer.cpp.

213 {
214 return _space_color_b;
215}

◆ set_space_color_b()

void wze::renderer::set_space_color_b ( uint8_t space_color_b)
static

Definition at line 217 of file renderer.cpp.

217 {
218 _space_color_b = space_color_b;
219}

◆ space_color_a()

uint8_t wze::renderer::space_color_a ( )
staticnodiscard

Definition at line 221 of file renderer.cpp.

221 {
222 return _space_color_a;
223}

◆ set_space_color_a()

void wze::renderer::set_space_color_a ( uint8_t space_color_a)
static

Definition at line 225 of file renderer.cpp.

225 {
226 _space_color_a = space_color_a;
227}

◆ space_texture()

std::shared_ptr< wze::texture > const & wze::renderer::space_texture ( )
staticnodiscard

Definition at line 229 of file renderer.cpp.

229 {
230 return _space_texture;
231}

◆ set_space_texture()

void wze::renderer::set_space_texture ( std::shared_ptr< texture > const & space_texture)
static

Definition at line 233 of file renderer.cpp.

234 {
235 _space_texture = space_texture;
236}

◆ plane_color_r()

uint8_t wze::renderer::plane_color_r ( )
staticnodiscard

Definition at line 238 of file renderer.cpp.

238 {
239 return _plane_color_r;
240}

◆ set_plane_color_r()

void wze::renderer::set_plane_color_r ( uint8_t plane_color_r)
static

Definition at line 242 of file renderer.cpp.

242 {
243 _plane_color_r = plane_color_r;
244}

◆ plane_color_g()

uint8_t wze::renderer::plane_color_g ( )
staticnodiscard

Definition at line 246 of file renderer.cpp.

246 {
247 return _plane_color_g;
248}

◆ set_plane_color_g()

void wze::renderer::set_plane_color_g ( uint8_t plane_color_g)
static

Definition at line 250 of file renderer.cpp.

250 {
251 _plane_color_g = plane_color_g;
252}

◆ plane_color_b()

uint8_t wze::renderer::plane_color_b ( )
staticnodiscard

Definition at line 254 of file renderer.cpp.

254 {
255 return _plane_color_b;
256}

◆ set_plane_color_b()

void wze::renderer::set_plane_color_b ( uint8_t plane_color_b)
static

Definition at line 258 of file renderer.cpp.

258 {
259 _plane_color_b = plane_color_b;
260}

◆ plane_color_a()

uint8_t wze::renderer::plane_color_a ( )
staticnodiscard

Definition at line 262 of file renderer.cpp.

262 {
263 return _plane_color_a;
264}

◆ set_plane_color_a()

void wze::renderer::set_plane_color_a ( uint8_t plane_color_a)
static

Definition at line 266 of file renderer.cpp.

266 {
267 _plane_color_a = plane_color_a;
268}

The documentation for this class was generated from the following files: