struct Eagle::DrawItem

Overview

One thing to draw: a mesh, a material and a world transform.

Defined in:

eagle/graphics3d/renderer3d.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(mesh : Eagle::Mesh, material : Eagle::Material, transform : Eagle::Mat4) #

Creates a draw item.


Instance Method Detail

def material : Material #

Its material.


def mesh : Mesh #

The mesh to draw.


def transform : Mat4 #

Its world transform.