|
VTK
9.7.20260914
|
#include <vtkWebGPURenderPipelineDescriptorInternals.h>
A WGPURenderPipelineDescriptor that owns the storage its pointer members refer to, and that starts out with VTK's preferred defaults rather than the plain C zero-initialization.
It derives from the C descriptor so that &descriptor can be handed straight to the C API - no cast is needed or wanted.
Definition at line 20 of file vtkWebGPURenderPipelineDescriptorInternals.h.
Inherits WGPURenderPipelineDescriptor.
Public Member Functions | |
| vtkWebGPURenderPipelineDescriptorInternals () | |
| vtkWebGPURenderPipelineDescriptorInternals (const vtkWebGPURenderPipelineDescriptorInternals &)=delete | |
| vtkWebGPURenderPipelineDescriptorInternals & | operator= (const vtkWebGPURenderPipelineDescriptorInternals &)=delete |
| vtkWebGPURenderPipelineDescriptorInternals (vtkWebGPURenderPipelineDescriptorInternals &&)=delete | |
| vtkWebGPURenderPipelineDescriptorInternals & | operator= (vtkWebGPURenderPipelineDescriptorInternals &&)=delete |
| WGPUDepthStencilState * | EnableDepthStencil (WGPUTextureFormat format=WGPUTextureFormat_Depth24PlusStencil8) |
| void | DisableDepthStencil () |
| WGPUBlendState * | EnableBlending (std::size_t colorTargetId) |
| void | DisableBlending (std::size_t colorTargetId) |
Public Attributes | |
| std::array< WGPUVertexBufferLayout, kMaxVertexBuffers > | cBuffers |
| std::array< WGPUVertexAttribute, kMaxVertexAttributes > | cAttributes |
| std::array< WGPUColorTargetState, kMaxColorAttachments > | cTargets |
| std::array< WGPUBlendState, kMaxColorAttachments > | cBlends |
| WGPUFragmentState | cFragment = WGPU_FRAGMENT_STATE_INIT |
| WGPUDepthStencilState | cDepthStencil = WGPU_DEPTH_STENCIL_STATE_INIT |
Static Public Attributes | |
| static constexpr int | kMaxVertexBuffers = 8u |
| static constexpr int | kMaxVertexAttributes = 16u |
| static constexpr int | kMaxColorAttachments = 8u |
| vtkWebGPURenderPipelineDescriptorInternals::vtkWebGPURenderPipelineDescriptorInternals | ( | ) |
|
delete |
|
delete |
|
delete |
|
delete |
| WGPUDepthStencilState * vtkWebGPURenderPipelineDescriptorInternals::EnableDepthStencil | ( | WGPUTextureFormat | format = WGPUTextureFormat_Depth24PlusStencil8 | ) |
| void vtkWebGPURenderPipelineDescriptorInternals::DisableDepthStencil | ( | ) |
| WGPUBlendState * vtkWebGPURenderPipelineDescriptorInternals::EnableBlending | ( | std::size_t | colorTargetId | ) |
| void vtkWebGPURenderPipelineDescriptorInternals::DisableBlending | ( | std::size_t | colorTargetId | ) |
|
staticconstexpr |
Definition at line 24 of file vtkWebGPURenderPipelineDescriptorInternals.h.
|
staticconstexpr |
Definition at line 25 of file vtkWebGPURenderPipelineDescriptorInternals.h.
|
staticconstexpr |
Definition at line 26 of file vtkWebGPURenderPipelineDescriptorInternals.h.
| std::array<WGPUVertexBufferLayout, kMaxVertexBuffers> vtkWebGPURenderPipelineDescriptorInternals::cBuffers |
Definition at line 45 of file vtkWebGPURenderPipelineDescriptorInternals.h.
| std::array<WGPUVertexAttribute, kMaxVertexAttributes> vtkWebGPURenderPipelineDescriptorInternals::cAttributes |
Definition at line 46 of file vtkWebGPURenderPipelineDescriptorInternals.h.
| std::array<WGPUColorTargetState, kMaxColorAttachments> vtkWebGPURenderPipelineDescriptorInternals::cTargets |
Definition at line 47 of file vtkWebGPURenderPipelineDescriptorInternals.h.
| std::array<WGPUBlendState, kMaxColorAttachments> vtkWebGPURenderPipelineDescriptorInternals::cBlends |
Definition at line 48 of file vtkWebGPURenderPipelineDescriptorInternals.h.
| WGPUFragmentState vtkWebGPURenderPipelineDescriptorInternals::cFragment = WGPU_FRAGMENT_STATE_INIT |
Definition at line 50 of file vtkWebGPURenderPipelineDescriptorInternals.h.
| WGPUDepthStencilState vtkWebGPURenderPipelineDescriptorInternals::cDepthStencil = WGPU_DEPTH_STENCIL_STATE_INIT |
Definition at line 51 of file vtkWebGPURenderPipelineDescriptorInternals.h.