LisaacTM Platform

STENCIL_BUFFER


store some bits for each pixels
Inherit/Insert Summary
parent_depth_buffer
extends depth buffer
parent_state
parent_object No developed.
 
stencil operations
keep
do not change value
replace
replace value
incr
increment value
decr
decrement value
invert
invert bits value
set_function value mask
when_pass when_fail when_zfail
 
pixel test functions
always
test always sucess
never
test always fails
less
pixel drawn if its Z-value is lesser than the corresponding depth buffer pixel
lequal
lesser or equal: (pixelDepth <= bufferDepth) => draw pixel else don't
equal
gequal
greater or equal
greater
notequal
not equal
set_clear_value
clear
lock
unlock
set_function
 
Slot Summary
is_enabled
 
Current states: - lights - planes - textures - depth test - alpha test - stencil test - scissor test - blending - culling - fog
enable
disable
push_attrib
pop_attrib
new_attrib
save
restore
 

Inherit/Insert Detail

parent_depth_buffer

.../extra/opengl/abstract_renderer/stencil_buffer.li line #9

Section:
Inherit

Profile:
+ SelfSELFparent_depth_buffer :Expanded  DEPTH_BUFFER

Description:
extends depth buffer

parent_state

.../extra/opengl/abstract_renderer/depth_buffer.li line #9

Section:
Inherit

Profile:
+ SelfSELFparent_state :Expanded  STATE

parent_object

.../extra/opengl/abstract_renderer/state.li line #9

Section:
Inherit

Profile:
- SelfSELFparent_object : OBJECT

stencil operations

keep

.../extra/opengl/abstract_renderer/stencil_buffer.li line #14

Section:
Public

Profile:
- SelfSELFkeep : INTEGER

Description:
do not change value

replace

.../extra/opengl/abstract_renderer/stencil_buffer.li line #15

Section:
Public

Profile:
- SelfSELFreplace : INTEGER

Description:
replace value

incr

.../extra/opengl/abstract_renderer/stencil_buffer.li line #16

Section:
Public

Profile:
- SelfSELFincr : INTEGER

Description:
increment value

decr

.../extra/opengl/abstract_renderer/stencil_buffer.li line #17

Section:
Public

Profile:
- SelfSELFdecr : INTEGER

Description:
decrement value

invert

.../extra/opengl/abstract_renderer/stencil_buffer.li line #18

Section:
Public

Profile:
- SelfSELFinvert : INTEGER

Description:
invert bits value

set_function value mask

.../extra/opengl/abstract_renderer/stencil_buffer.li line #21

Section:
Public

Profile:
- SelfSELFset_function   f : INTEGER  value   val : INTEGER_32  mask   m : UINTEGER_32

when_pass when_fail when_zfail

.../extra/opengl/abstract_renderer/stencil_buffer.li line #22

Section:
Public

Profile:
- SelfSELFwhen_pass   op1 : INTEGER  when_fail   op2 : INTEGER  when_zfail   op3 : INTEGER

pixel test functions

always

.../extra/opengl/abstract_renderer/depth_buffer.li line #14

Section:
Public

Profile:
- SelfSELFalways : INTEGER

Description:
test always sucess

never

.../extra/opengl/abstract_renderer/depth_buffer.li line #15

Section:
Public

Profile:
- SelfSELFnever : INTEGER

Description:
test always fails

less

.../extra/opengl/abstract_renderer/depth_buffer.li line #16

Section:
Public

Profile:
- SelfSELFless : INTEGER

Description:
pixel drawn if its Z-value is lesser than the corresponding depth buffer pixel

lequal

.../extra/opengl/abstract_renderer/depth_buffer.li line #17

Section:
Public

Profile:
- SelfSELFlequal : INTEGER

Description:
lesser or equal: (pixelDepth <= bufferDepth) => draw pixel else don't

equal

.../extra/opengl/abstract_renderer/depth_buffer.li line #18

Section:
Public

Profile:
- SelfSELFequal : INTEGER

gequal

.../extra/opengl/abstract_renderer/depth_buffer.li line #19

Section:
Public

Profile:
- SelfSELFgequal : INTEGER

Description:
greater or equal

greater

.../extra/opengl/abstract_renderer/depth_buffer.li line #20

Section:
Public

Profile:
- SelfSELFgreater : INTEGER

notequal

.../extra/opengl/abstract_renderer/depth_buffer.li line #21

Section:
Public

Profile:
- SelfSELFnotequal : INTEGER

Description:
not equal

set_clear_value

.../extra/opengl/abstract_renderer/depth_buffer.li line #23

Section:
Public

Profile:
- SelfSELFset_clear_value   val : REAL_32

clear

.../extra/opengl/abstract_renderer/depth_buffer.li line #24

Section:
Public

Profile:
- SelfSELFclear 

lock

.../extra/opengl/abstract_renderer/depth_buffer.li line #26

Section:
Public

Profile:
- SelfSELFlock 

unlock

.../extra/opengl/abstract_renderer/depth_buffer.li line #27

Section:
Public

Profile:
- SelfSELFunlock 

set_function

.../extra/opengl/abstract_renderer/depth_buffer.li line #29

Section:
Public

Profile:
- SelfSELFset_function   f : INTEGER

Detail slot

is_enabled

.../extra/opengl/abstract_renderer/state.li line #30

Section:
Public

Profile:
+ SelfSELFis_enabled : BOOLEAN

Current states: - lights - planes - textures - depth test - alpha test - stencil test - scissor test - blending - culling - fog

enable

.../extra/opengl/abstract_renderer/state.li line #33

Section:
Public

Profile:
- SelfSELFenable 

disable

.../extra/opengl/abstract_renderer/state.li line #38

Section:
Public

Profile:
- SelfSELFdisable 

push_attrib

.../extra/opengl/abstract_renderer/state.li line #43

Section:
Public

Profile:
- SelfSELFpush_attrib 

pop_attrib

.../extra/opengl/abstract_renderer/state.li line #44

Section:
Public

Profile:
- SelfSELFpop_attrib 

new_attrib

.../extra/opengl/abstract_renderer/state.li line #45

Section:
Public

Profile:
- SelfSELFnew_attrib   body : BLOCK

save

.../extra/opengl/abstract_renderer/state.li line #53

Section:
Public

Profile:
- SelfSELFsave 

restore

.../extra/opengl/abstract_renderer/state.li line #61

Section:
Public

Profile:
- SelfSELFrestore