Expand description
Items related to creating an OpenGL program.
Structs§
- Attribute
- Information about an attribute of a program (except its name).
- Binary
- Represents the compiled binary data of a program.
- Compute
Command - Represents a compute shader command waiting to be dispatched.
- Compute
Shader - A combination of compute shaders linked together.
- Program
- A combination of shaders linked together.
- Source
Code - Represents the source code of a program.
- Spirv
Entry Point - Represents an entry point of a binary SPIR-V module.
- Spirv
Program - Represents a SPIR-V program. The shaders can refer to entry points in the same binary.
- Subroutine
Data - Contains all subroutine data of a program.
- Subroutine
Uniform - Information about a Subroutine Uniform (except name)
- Transform
Feedback Buffer - Describes the layout of a buffer that can receive transform feedback output.
- Transform
Feedback Varying - Describes a varying that is being output with transform feedback.
- Uniform
- Information about a uniform (except its name).
- Uniform
Block - Information about a uniform block (except its name).
Enums§
- Block
Layout - Layout of a shader storage buffer or a uniform buffer.
- GetBinary
Error - Error while retrieving the binary representation of a program.
- Output
Primitives - Type of primitives that is being output by transform feedback.
- Program
Chooser Creation Error - Error type that is returned by the
program!
macro. - Program
Creation Error - Error that can be triggered when creating a
Program
. - Program
Creation Input - Input when creating a program.
- Shader
Stage - The different stages of the program pipeline.
- Shader
Type - Used in ProgramCreationError::CompilationError to explain which shader stage failed compilation
- Transform
Feedback Mode - Type of transform feedback. Only used with the legacy interface.
Functions§
- is_
binary_ supported - Returns true if the backend supports creating and retrieving binary format.
- is_
geometry_ shader_ supported - Returns true if the backend supports geometry shaders.
- is_
subroutine_ supported - Returns true if the backend supports shader subroutines.
- is_
tessellation_ shader_ supported - Returns true if the backend supports tessellation shaders.