Antkeeper  0.0.1
Public Attributes | List of all members
render::operation Struct Reference

Atomic render operation. More...

#include <operation.hpp>

Public Attributes

gl::primitive_topology primitive_topology {gl::primitive_topology::triangle_list}
 
const gl::vertex_arrayvertex_array {nullptr}
 
const gl::vertex_buffervertex_buffer {nullptr}
 
std::size_t vertex_offset {0}
 
std::size_t vertex_stride {0}
 
std::uint32_t first_vertex {0}
 
std::uint32_t vertex_count {0}
 
std::uint32_t first_instance {0}
 
std::uint32_t instance_count {1}
 
std::shared_ptr< render::materialmaterial
 
math::fmat4 transform {math::fmat4::identity()}
 
float depth {}
 
std::span< const math::fmat4matrix_palette {}
 
std::uint32_t layer_mask {}
 

Detailed Description

Atomic render operation.

Definition at line 37 of file operation.hpp.

Member Data Documentation

◆ depth

float render::operation::depth {}

Definition at line 52 of file operation.hpp.

◆ first_instance

std::uint32_t render::operation::first_instance {0}

Definition at line 46 of file operation.hpp.

◆ first_vertex

std::uint32_t render::operation::first_vertex {0}

Definition at line 44 of file operation.hpp.

◆ instance_count

std::uint32_t render::operation::instance_count {1}

Definition at line 47 of file operation.hpp.

◆ layer_mask

std::uint32_t render::operation::layer_mask {}

Definition at line 56 of file operation.hpp.

◆ material

std::shared_ptr<render::material> render::operation::material

Definition at line 49 of file operation.hpp.

◆ matrix_palette

std::span<const math::fmat4> render::operation::matrix_palette {}

Definition at line 54 of file operation.hpp.

◆ primitive_topology

gl::primitive_topology render::operation::primitive_topology {gl::primitive_topology::triangle_list}

Definition at line 39 of file operation.hpp.

◆ transform

math::fmat4 render::operation::transform {math::fmat4::identity()}

Definition at line 51 of file operation.hpp.

◆ vertex_array

const gl::vertex_array* render::operation::vertex_array {nullptr}

Definition at line 40 of file operation.hpp.

◆ vertex_buffer

const gl::vertex_buffer* render::operation::vertex_buffer {nullptr}

Definition at line 41 of file operation.hpp.

◆ vertex_count

std::uint32_t render::operation::vertex_count {0}

Definition at line 45 of file operation.hpp.

◆ vertex_offset

std::size_t render::operation::vertex_offset {0}

Definition at line 42 of file operation.hpp.

◆ vertex_stride

std::size_t render::operation::vertex_stride {0}

Definition at line 43 of file operation.hpp.


The documentation for this struct was generated from the following file: