Class: capability
Certain
system
(hardware related) capabilites can be queried for support here.
Methods:
Method overview:
dot3normalmap
drawbuffers
fbo
hwshadow
stenciltwosided
stencilwrap
tex3d
tex3dsize
texabgr
texautomipmap
texbgr
texcomb_combine4
texcomb_crossbar
texcomb_dot3
texcomb_modadd
texcomb_subtract
texcompress
texcube
texdds
texdepthstencil
texfloat
texnp2
texrectangle
texvertex
vbo
dot3normalmap
()
returns:
(
boolean
)
returns support for VID_NORMAL combiner in
shader
system
.
drawbuffers
()
returns:
(
int
)
returns maximum number of multiple
render
targets for color drawbuffers
fbo
()
returns:
(
boolean
)
returns support for framebufferobjects, allow enhanced rendertotexture. Especially rendering to multiple drawbuffers or
textures
with larger size than
window
. The
rcmdfbo
needs this capability.
hwshadow
()
returns:
(
boolean
)
returns support for shadow map comparison and depth
textures
stenciltwosided
()
returns:
(
boolean
)
returns support for two-sided stencil testing
stencilwrap
()
returns:
(
boolean
)
returns support for wrapped increment and decrement
tex3d
()
returns:
(
boolean
)
returns support for 3d
textures
tex3dsize
()
returns:
(
int
)
returns maximum dimension of 3d
texture
texabgr
()
returns:
(
boolean
)
returns support for ABGR
texture
data
texautomipmap
()
returns:
(
boolean
)
returns support for automatic mipmaps
texbgr
()
returns:
(
boolean
)
returns support for BGR,BGRA
texture
data
texcomb_combine4
()
returns:
(
boolean
)
returns support for combine4 in
texcombiners
texcomb_crossbar
()
returns:
(
boolean
)
returns support for access to all
texture
units in
texcombiners
texcomb_dot3
()
returns:
(
boolean
)
returns support for dot3 in
texcombiners
texcomb_modadd
()
returns:
(
boolean
)
returns support for modulated add functions in
texcombiners
texcomb_subtract
()
returns:
(
boolean
)
returns support for subtract in
texcombiners
texcompress
()
returns:
(
boolean
)
returns support for
texture
compression
texcube
()
returns:
(
boolean
)
returns support for cubemap
textures
texdds
()
returns:
(
boolean
)
returns support for dds
texture
loading
texdepthstencil
()
returns:
(
boolean
)
returns support for a packed format of 24bit depth and 8bit stencil
texture
.
texfloat
()
returns:
(
boolean
)
returns support for float16 and float32
textures
texnp2
()
returns:
(
boolean
)
returns support for non power of two
texture
dimensions. Currently only supported for 3d
textures
. For 2d
textures
use rectangle capability.
texrectangle
()
returns:
(
boolean
)
returns support for rectangle
textures
texvertex
()
returns:
(
int
)
returns number of
textures
that can be accessed in vertex
shader
vbo
()
returns:
(
boolean
)
returns support for vbo