Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 536 Bytes
#|
This file is a part of trial
(c) 2017 Shirakumo http://tymoon.eu (shinmera@tymoon.eu)
Author: Nicolas Hafner <shinmera@tymoon.eu>
|#
(in-package #:org.shirakumo.fraf.trial)
(defclass scene-buffer (render-texture pipelined-scene)
((render-pass :initform (make-instance 'render-pass) :accessor render-pass))
(:default-initargs
:width (error "WIDTH required.")
:height (error "HEIGHT required.")))
(defmethod initialize-instance :after ((buffer scene-buffer) &key)
(enter (render-pass buffer) buffer)
(pack buffer))