LisaacTM Platform

GL_STENCIL_BUFFER


Opengl Stencil Buffer
Inherit/Insert Summary
parent_buffer No developed.
 
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
 
stencil operations
keep
do not change value
replace
replace value
incr
increment value
decr
decrement value
invert
invert bits value
enable
disable
push_attrib
pop_attrib
set_clear_value
clear
set_function value mask
when_pass when_fail when_zfail
lock
stencil buffer is read-only
unlock
 

Inherit/Insert Detail

parent_buffer

.../extra/opengl/opengl/gl_stencil_buffer.li line #9

Section:
Inherit

Profile:
- SelfSELFparent_buffer : STENCIL_BUFFER

pixel test functions

always

.../extra/opengl/opengl/gl_stencil_buffer.li line #14

Section:
Public

Profile:
- SelfSELFalways : INTEGER

Description:
test always sucess

never

.../extra/opengl/opengl/gl_stencil_buffer.li line #15

Section:
Public

Profile:
- SelfSELFnever : INTEGER

Description:
test always fails

less

.../extra/opengl/opengl/gl_stencil_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/opengl/gl_stencil_buffer.li line #17

Section:
Public

Profile:
- SelfSELFlequal : INTEGER

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

equal

.../extra/opengl/opengl/gl_stencil_buffer.li line #18

Section:
Public

Profile:
- SelfSELFequal : INTEGER

gequal

.../extra/opengl/opengl/gl_stencil_buffer.li line #19

Section:
Public

Profile:
- SelfSELFgequal : INTEGER

Description:
greater or equal

greater

.../extra/opengl/opengl/gl_stencil_buffer.li line #20

Section:
Public

Profile:
- SelfSELFgreater : INTEGER

notequal

.../extra/opengl/opengl/gl_stencil_buffer.li line #21

Section:
Public

Profile:
- SelfSELFnotequal : INTEGER

Description:
not equal

stencil operations

keep

.../extra/opengl/opengl/gl_stencil_buffer.li line #24

Section:
Public

Profile:
- SelfSELFkeep : INTEGER

Description:
do not change value

replace

.../extra/opengl/opengl/gl_stencil_buffer.li line #25

Section:
Public

Profile:
- SelfSELFreplace : INTEGER

Description:
replace value

incr

.../extra/opengl/opengl/gl_stencil_buffer.li line #26

Section:
Public

Profile:
- SelfSELFincr : INTEGER

Description:
increment value

decr

.../extra/opengl/opengl/gl_stencil_buffer.li line #27

Section:
Public

Profile:
- SelfSELFdecr : INTEGER

Description:
decrement value

invert

.../extra/opengl/opengl/gl_stencil_buffer.li line #28

Section:
Public

Profile:
- SelfSELFinvert : INTEGER

Description:
invert bits value

enable

.../extra/opengl/opengl/gl_stencil_buffer.li line #31

Section:
Public

Profile:
- SelfSELFenable 

disable

.../extra/opengl/opengl/gl_stencil_buffer.li line #37

Section:
Public

Profile:
- SelfSELFdisable 

push_attrib

.../extra/opengl/opengl/gl_stencil_buffer.li line #43

Section:
Public

Profile:
- SelfSELFpush_attrib 

pop_attrib

.../extra/opengl/opengl/gl_stencil_buffer.li line #48

Section:
Public

Profile:
- SelfSELFpop_attrib 

set_clear_value

.../extra/opengl/opengl/gl_stencil_buffer.li line #53

Section:
Public

Profile:
- SelfSELFset_clear_value   val : REAL_32

clear

.../extra/opengl/opengl/gl_stencil_buffer.li line #58

Section:
Public

Profile:
- SelfSELFclear 

set_function value mask

.../extra/opengl/opengl/gl_stencil_buffer.li line #63

Section:
Public

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

when_pass when_fail when_zfail

.../extra/opengl/opengl/gl_stencil_buffer.li line #68

Section:
Public

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

lock

.../extra/opengl/opengl/gl_stencil_buffer.li line #73

Section:
Public

Profile:
- SelfSELFlock 

Description:
stencil buffer is read-only

unlock

.../extra/opengl/opengl/gl_stencil_buffer.li line #79

Section:
Public

Profile:
- SelfSELFunlock