Infinity Engine v0.6.20
C++ API Documentation
Loading...
Searching...
No Matches
Infinity::Types::Rendering Namespace Reference

Classes

class  IndexBuffer
 Container for mesh index data defining vertex connectivity and topology. More...
 
class  Material
 Shader configuration with parameters and textures for surface appearance. More...
 
class  Mesh
 Complete 3D geometry definition with vertices, indices, and material partitioning. More...
 
class  Renderable
 Complete renderable object combining geometry, materials, and instancing. More...
 
class  RenderObject
 Top-level scene object combining a world transform with renderable content. More...
 
struct  SubMesh
 Defines a subset of mesh geometry with an associated material. More...
 
class  VertexBuffer
 Container for mesh vertex attribute data. More...
 

Functions

INFINITY_API_PUBLIC std::ostream & operator<< (std::ostream &out, const SubMesh &submesh)
 Stream output operator for SubMesh.
 
INFINITY_API_PUBLIC std::istream & operator>> (std::istream &in, SubMesh &submesh)
 Stream input operator for SubMesh.
 

Function Documentation

◆ operator<<()

INFINITY_API_PUBLIC std::ostream & Infinity::Types::Rendering::operator<< ( std::ostream &  out,
const SubMesh submesh 
)
inline

Stream output operator for SubMesh.

Writes the submesh to an output stream in the format: "indexOffset indexCount materialIndex"

Parameters
outOutput stream.
submeshSubMesh to output.
Returns
Reference to the output stream.

◆ operator>>()

INFINITY_API_PUBLIC std::istream & Infinity::Types::Rendering::operator>> ( std::istream &  in,
SubMesh submesh 
)
inline

Stream input operator for SubMesh.

Reads a submesh from an input stream in the format: "indexOffset indexCount materialIndex"

Parameters
inInput stream.
submeshSubMesh to read into.
Returns
Reference to the input stream.