sculpto
Public Member Functions | List of all members
scl::topology::full_screen_quad Class Reference

#include <full_screen_quad.h>

Inheritance diagram for scl::topology::full_screen_quad:
scl::topology::grid scl::topology::basis< vertex >

Public Member Functions

 full_screen_quad ()
 
 ~full_screen_quad () override=default
 
- Public Member Functions inherited from scl::topology::grid
int GetWidth () const
 
int GetHeight () const
 
 grid (int Width, int Height)
 
 ~grid () override=default
 
- Public Member Functions inherited from scl::topology::basis< vertex >
const mesh_type GetType () const
 
const std::vector< vertexGetVertices () const
 
const std::vector< u32GetIndices () const
 
const vec3GetBoundMin () const
 
const vec3GetBoundMax () const
 
std::vector< vertex >::const_iterator cbegin () const
 
std::vector< vertex >::const_iterator cend () const
 
 basis (mesh_type MeshType)
 
 basis (mesh_type MeshType, const std::vector< vertex > &Vertices, const std::vector< u32 > &Indices)
 
 basis (mesh_type MeshType, std::vector< vertex > &&Vertices, std::vector< u32 > &&Indices)
 
virtual ~basis ()=default
 

Additional Inherited Members

- Public Attributes inherited from scl::topology::basis< vertex >
mesh_type MeshType
 
std::vector< vertexVertices
 
std::vector< u32Indices
 
vec3 Min
 
vec3 Max
 

Detailed Description

Topology full screen quad object class.

Definition at line 16 of file full_screen_quad.h.

Constructor & Destructor Documentation

◆ full_screen_quad()

scl::topology::full_screen_quad::full_screen_quad ( )
  • Topology full screen quad object default constructor.
Parameters
Width,Height- full_screen_quad size.

Definition at line 12 of file full_screen_quad.cpp.

12 :
13 grid(1, 1)
14{
15 Vertices.push_back(vertex({ -1, -1, 0 }, { 0, 1, 0 }, { 1, 0, 0 }, { 0, 0, 1 }, { 0, 0 }));
16 Vertices.push_back(vertex({ -1, 1, 0 }, { 0, 1, 0 }, { 1, 0, 0 }, { 0, 0, 1 }, { 0, 1 }));
17 Vertices.push_back(vertex({ 1, -1, 0 }, { 0, 1, 0 }, { 1, 0, 0 }, { 0, 0, 1 }, { 1, 0 }));
18 Vertices.push_back(vertex({ 1, 1, 0 }, { 0, 1, 0 }, { 1, 0, 0 }, { 0, 0, 1 }, { 1, 1 }));
19}
std::vector< vertex > Vertices
Definition: basis.h:22
grid(int Width, int Height)
Definition: grid.cpp:12

◆ ~full_screen_quad()

scl::topology::full_screen_quad::~full_screen_quad ( )
overridedefault

Topology full_screen_quad object default destructor.


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