|
Blender V5.0
|
Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::gpu |
| namespace | blender::gpu::shader |
Functions | |
| BLI_INLINE int | blender::gpu::shader::to_component_count (const Type &type) |
| enum GPUAttachmentState |
Describes the state of a frame-buffer attachment during a sub-pass.
NOTE: Until this is correctly implemented in all backend, reading and writing from the same attachment will not work. Although there is no case where it would currently be useful.
Definition at line 63 of file GPU_common_types.hh.
| enum GPUFrontFace |
| Enumerator | |
|---|---|
| GPU_CLOCKWISE | |
| GPU_COUNTERCLOCKWISE | |
Definition at line 72 of file GPU_common_types.hh.
| enum GPULoadOp |
Describes the load operation of a frame-buffer attachment at the start of a render pass.
| Enumerator | |
|---|---|
| GPU_LOADACTION_CLEAR | Clear the frame-buffer attachment using the clear value. |
| GPU_LOADACTION_LOAD | Load the value from the attached texture. Cannot be used with memoryless attachments. Slower than GPU_LOADACTION_CLEAR or GPU_LOADACTION_DONT_CARE. |
| GPU_LOADACTION_DONT_CARE | Do not care about the content of the attachment when the render pass starts. Useful if only the values being written are important. Faster than GPU_LOADACTION_CLEAR. |
Definition at line 17 of file GPU_common_types.hh.
| enum GPUStoreOp |
Describes the store operation of a frame-buffer attachment at the end of a render pass.
| Enumerator | |
|---|---|
| GPU_STOREACTION_STORE | Do not care about the content of the attachment when the render pass ends. Useful if only the values being written are important. Cannot be used with memoryless attachments. |
| GPU_STOREACTION_DONT_CARE | The result of the rendering for this attachment will be discarded. No writes to the texture memory will be done which makes it faster than GPU_STOREACTION_STORE. IMPORTANT: The actual values of the attachment is to be considered undefined. Only to be used on transient attachment that are only used within the boundaries of a render pass (ex.: Unneeded depth buffer result). |
Definition at line 39 of file GPU_common_types.hh.