class PF3d::DepthBuffer

Overview

A buffer of depth values for rending 3d scenes

Included Modules

Defined in:

pf3d/depth_buffer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(width : Int32, height : Int32) #

[View source]

Instance Method Detail

def [](x : Int, y : Int) #

[View source]
def []=(x : Int, y : Int, value : Float64) #

[View source]
def clear #

[View source]
def draw_point(x : Number, y : Number, value : Float64) #
Description copied from module PF2d::Drawable(Float64)

To be implemented by the including class


[View source]