Navigácia
Knowww
Knowledge on World Wide Web
ABC dictionary
Private tree
Access private tree
Discard command
Zobraziť pojem v strome
Domain
:
14
Description
The
discard
command is
available only in a fragment shader
. It will cause the current fragment to not be rendered.
Example:
Using discard with a gray/brown texture, and discarding the brown fragments
Source:
Infektor.net
Importance
High
Súvisiace pojmy
:
Nadradený pojem
:
GLSL
Susedné pojmy
:
Built-in functions
Data types
Declaration and initialisation
Vector and matrix elements access
Storage qualifiers
Layout qualifier
Built-in variables
Control flow statements
User defined functions
Preprocessor directives