Vulkan Pipeline State¶
-
class
renderdoc.VKState¶ The full current Vulkan pipeline state.
-
colorBlend¶ A
VKColorBlendStatedescribing color blending.
-
compute¶ A
VKPipelinewith the currently bound compute pipeline, if any.
-
currentPass¶ A
VKCurrentPassdescribing the current renderpass, subpass and framebuffer.
-
depthStencil¶ A
VKDepthStencildescribing the depth-stencil stage.
-
graphics¶ A
VKPipelinewith the currently bound graphics pipeline, if any.
-
images¶ A list of
VKImageDataentries, one for each image.
-
inputAssembly¶ A
VKInputAssemblydescribing the input assembly stage.
-
multisample¶ A
VKMultiSampledescribing the multisample setup.
-
pushconsts¶ A
bytescontaining the raw push constant data.
-
rasterizer¶ A
VKRasterizerdescribing rasterization.
-
tessellation¶ A
VKTessellationdescribing the tessellation stage.
-
transformFeedback¶ A
VKTransformFeedbackdescribing the tessellation stage.
-
vertexInput¶ A
VKVertexInputdescribing the vertex input stage.
-
viewportScissor¶ A
VKViewStatedescribing the viewport setup.
-
-
class
renderdoc.VKBindingElement¶ The contents of a single binding element within a descriptor set, possibly in an array.
-
UseBorder()¶ For samplers - check if the border color is used in this Vulkan sampler.
Returns: Trueif the border color is used,Falseotherwise.Return type: bool
-
addressU¶ For samplers - the
AddressModein the U direction.
-
addressV¶ For samplers - the
AddressModein the V direction.
-
addressW¶ For samplers - the
AddressModein the W direction.
-
borderColor¶ For samplers - the RGBA border color.
-
byteOffset¶ For buffers - the byte offset where the buffer view starts in the underlying buffer.
-
byteSize¶ For buffers - how many bytes are in this buffer view.
-
compareFunction¶ For samplers - the
CompareFunctionfor comparison samplers.
-
filter¶ For samplers - the
TextureFilterdescribing the filtering mode.
-
firstMip¶ For textures - the first mip level used in the view.
-
firstSlice¶ For 3D textures and texture arrays - the first slice used in the view.
-
immutableSampler¶ Trueif this is an immutable sampler binding.
-
maxAnisotropy¶ For samplers - the maximum anisotropic filtering level to use.
-
maxLOD¶ For samplers - the maximum mip level that can be used.
-
minLOD¶ For samplers - the minimum mip level that can be used.
-
mipBias¶ For samplers - a bias to apply to the calculated mip level before sampling.
-
numMips¶ For textures - the number of mip levels in the view.
-
numSlices¶ For 3D textures and texture arrays - the number of array slices in the view.
-
resourceResourceId¶ The
ResourceIdof the current underlying buffer or image object.
-
samplerResourceId¶ The
ResourceIdof the current sampler object.
-
swizzle¶ Four
TextureSwizzleelements indicating the swizzle applied to this texture.
-
unnormalized¶ For samplers -
Trueif unnormalized co-ordinates are used in this sampler.
-
viewFormat¶ The
ResourceFormatthat the view uses.
-
viewResourceId¶ The
ResourceIdof the current view object, if one is in use.
-
-
class
renderdoc.VKDescriptorBinding¶ The contents of a single binding within a descriptor set, either arrayed or not.
-
binds¶ A list of
VKBindingElementwith the binding elements. IfdescriptorCountis 1 then this isn’t an array, and this list has only one element.
-
descriptorCount¶ How many descriptors are in this binding array. If this binding is empty/non-existant this value will be
0.
-
stageFlags¶ The
ShaderStageMaskwhere this binding is visible.
-
-
class
renderdoc.VKDescriptorSet¶ The contents of a descriptor set.
-
bindings¶ A list of
VKDescriptorBindingwith the bindings within this set. This list is indexed by the binding, so it may be sparse (some entries do not contain any elements).
-
descriptorSetResourceId¶ The
ResourceIdof the descriptor set object.
-
layoutResourceId¶ The
ResourceIdof the descriptor set layout that matches this set.
-
pushDescriptor¶ Indicates if this is a virtual ‘push’ descriptor set.
-
-
class
renderdoc.VKPipeline¶ Describes the object and descriptor set bindings of a Vulkan pipeline object.
-
descriptorSets¶ A list of
VKDescriptorSetwith the bound descriptor sets.
-
flags¶ The flags used to create the pipeline object.
-
pipelineLayoutResourceId¶ The
ResourceIdof the pipeline layout object.
-
pipelineResourceId¶ The
ResourceIdof the pipeline object.
-
-
class
renderdoc.VKIndexBuffer¶ Describes the Vulkan index buffer binding.
-
byteOffset¶ The byte offset from the start of the buffer to the beginning of the index data.
-
resourceId¶ The
ResourceIdof the index buffer.
-
-
class
renderdoc.VKInputAssembly¶ Describes the vulkan input assembly configuration.
-
indexBuffer¶ The
VKIndexBufferwith the index buffer binding.
-
primitiveRestartEnable¶ Trueif primitive restart is enabled for strip primitives.
-
-
class
renderdoc.VKVertexAttribute¶ Describes the configuration of a single vertex attribute.
-
binding¶ The vertex binding where data will be sourced from.
-
format¶ The
ResourceFormatdescribing how each input element will be interpreted.
-
location¶ The location in the shader that is bound to this attribute.
-
-
class
renderdoc.VKVertexBinding¶ Describes a vertex binding.
-
byteStride¶ The byte stride between the start of one set of vertex data and the next.
-
instanceDivisor¶ The instance rate divisor.
If this is
0then every vertex gets the same value.If it’s
1then one element is read for each instance, and forNgreater than1thenNinstances read the same element before advancing.
-
perInstance¶ Trueif the vertex data is instance-rate.
-
vertexBufferBinding¶ The vertex binding where data will be sourced from.
-
-
class
renderdoc.VKVertexBuffer¶ Describes a single Vulkan vertex buffer binding.
-
byteOffset¶ The byte offset from the start of the buffer to the beginning of the vertex data.
-
resourceId¶ The
ResourceIdof the buffer bound to this slot.
-
-
class
renderdoc.VKVertexInput¶ Describes the fixed-function vertex input fetch setup.
-
attributes¶ A list of
VKVertexAttributewith the vertex attributes.
-
bindings¶ A list of
VKVertexBindingwith the vertex bindings.
-
vertexBuffers¶ A list of
VKVertexBufferwith the vertex buffers.
-
-
class
renderdoc.VKSpecializationConstant¶ The provided value for a specialization constant.
-
data¶ A
byteswith the contents of the constant.
-
specializationId¶ The specialization ID
-
-
class
renderdoc.VKShader¶ Describes a Vulkan shader stage.
-
bindpointMapping¶ A
ShaderBindpointMappingto matchreflectionwith the bindpoint mapping data.
-
entryPoint¶ The name of the entry point in the shader module that is used.
-
reflection¶ A
ShaderReflectiondescribing the reflection data for this shader.
-
resourceId¶ The
ResourceIdof the shader module object.
-
specialization¶ A list of
VKSpecializationConstantwith the provided specialization constants.
-
stage¶ A
ShaderStageidentifying which stage this shader is bound to.
-
-
class
renderdoc.VKTessellation¶ Describes the state of the fixed-function tessellator.
-
domainOriginUpperLeft¶ Trueif the tessellation domain origin is upper-left,Falseif lower-left.
-
numControlPoints¶ The number of control points in each input patch.
-
-
class
renderdoc.VKXFBBuffer¶ Describes a single transform feedback binding.
-
active¶ A flag indicating if this buffer is active or not.
-
bufferResourceId¶ The
ResourceIdof the bound data buffer.
-
byteOffset¶ The offset in bytes to the start of the data in the
bufferResourceId.
-
byteSize¶ The size in bytes of the data buffer.
-
counterBufferOffset¶ The offset in bytes to the counter in the
counterBufferResourceId.
-
counterBufferResourceId¶ The
ResourceIdof the buffer storing the counter value (if set).
-
-
class
renderdoc.VKTransformFeedback¶ Describes the state of the fixed-function transform feedback.
-
buffers¶ The bound transform feedback buffers.
-
-
class
renderdoc.VKViewportScissor¶ Describes a combined viewport and scissor region.
-
class
renderdoc.VKViewState¶ Describes the view state in the pipeline.
-
viewportScissors¶ A list of
VKViewportScissor.
-
-
class
renderdoc.VKRasterizer¶ Describes the rasterizer state in the pipeline.
-
conservativeRasterization¶ The active conservative rasterization mode.
-
depthBias¶ The fixed depth bias value to apply to z-values.
-
depthBiasClamp¶ The clamp value for calculated depth bias from
depthBiasandslopeScaledDepthBias
-
depthClampEnable¶ Trueif pixels outside of the near and far depth planes should be clamped and to0.0to1.0and not clipped.
-
extraPrimitiveOverestimationSize¶ The extra size in pixels to increase primitives by during conservative rasterization, in the x and y directions in screen space.
See
conservativeRasterizationMode
-
frontCCW¶ Trueif counter-clockwise polygons are front-facing.Falseif clockwise polygons are front-facing.
-
lineWidth¶ The fixed line width in pixels.
-
rasterizerDiscardEnable¶ Trueif primitives should be discarded during rasterization.
-
slopeScaledDepthBias¶ The slope-scaled depth bias value to apply to z-values.
-
-
class
renderdoc.VKMultiSample¶ Describes the multisampling state in the pipeline.
-
minSampleShading¶ The minimum sample shading rate.
-
rasterSamples¶ How many samples to use when rasterizing.
-
sampleMask¶ A mask that generated samples should be masked with using bitwise
AND.
-
sampleShadingEnable¶ Trueif rendering should happen at sample-rate frequency.
-
-
class
renderdoc.VKColorBlendState¶ Describes the pipeline blending state.
-
alphaToCoverageEnable¶ Trueif alpha-to-coverage should be used when blending to an MSAA target.
-
alphaToOneEnable¶ Trueif alpha-to-one should be used when blending to an MSAA target.
-
blendFactor¶ The constant blend factor to use in blend equations.
-
blends¶ The list of
ColorBlendwith the blending configuration per-attachment.
-
-
class
renderdoc.VKDepthStencil¶ Describes the pipeline depth-stencil state.
-
backFace¶ A
StencilFacedescribing what happens for back-facing polygons.
-
depthBoundsEnable¶ Trueif depth bounds tests should be applied.
-
depthFunction¶ The
CompareFunctionto use for testing depth values.
-
depthTestEnable¶ Trueif depth testing should be performed.
-
depthWriteEnable¶ Trueif depth values should be written to the depth target.
-
frontFace¶ A
StencilFacedescribing what happens for front-facing polygons.
-
maxDepthBounds¶ The far plane bounding value.
-
minDepthBounds¶ The near plane bounding value.
-
stencilTestEnable¶ Trueif stencil operations should be performed.
-
-
class
renderdoc.VKRenderPass¶ Describes the setup of a renderpass and subpasses.
-
colorAttachments¶ A list of indices into the framebuffer attachments for color attachments.
-
depthstencilAttachment¶ An index into the framebuffer attachments for the depth-stencil attachment.
If there is no depth-stencil attachment, this index is
-1.
-
inputAttachments¶ A list of indices into the framebuffer attachments for input attachments.
-
multiviews¶ If multiview is enabled, contains a list of view indices to be broadcast to during rendering.
If the list is empty, multiview is disabled and rendering is as normal.
-
resolveAttachments¶ A list of indices into the framebuffer attachments for resolve attachments.
-
resourceId¶ The
ResourceIdof the render pass.
-
subpass¶ The index of the current active subpass.
-
-
class
renderdoc.VKAttachment¶ Describes a single attachment in a framebuffer object.
-
firstMip¶ The first mip level used in the attachment.
-
firstSlice¶ For 3D textures and texture arrays, the first slice used in the attachment.
-
imageResourceId¶ The
ResourceIdof the underlying image that the view refers to.
-
numMips¶ The number of mip levels in the attachment.
-
numSlices¶ For 3D textures and texture arrays, the number of array slices in the attachment.
-
swizzle¶ Four
TextureSwizzleelements indicating the swizzle applied to this texture.
-
viewFormat¶ The
ResourceFormatthat the view uses.
-
viewResourceId¶ The
ResourceIdof the image view itself.
-
-
class
renderdoc.VKFramebuffer¶ Describes a framebuffer object and its attachments.
-
attachments¶ A list of
VKAttachmentwith the attachments of this framebuffer.
-
height¶ The height of this framebuffer in pixels.
-
layers¶ The number of layers in this framebuffer.
-
resourceId¶ The
ResourceIdof the framebuffer object.
-
width¶ The width of this framebuffer in pixels.
-
-
class
renderdoc.VKRenderArea¶ Describes the render area for a render pass instance.
-
height¶ The height of the render area.
-
width¶ The width of the render area.
-
x¶ The X co-ordinate of the render area.
-
y¶ The Y co-ordinate of the render area.
-
-
class
renderdoc.VKCurrentPass¶ Describes the current pass instance at the current time.
-
framebuffer¶ The
VKFramebufferthat is currently being used.
-
renderArea¶ The
VKRenderAreathat is currently being rendered to.
-
renderpass¶ The
VKRenderPassthat is currently active.
-
-
class
renderdoc.VKImageLayout¶ Contains the layout of a range of subresources in an image.
-
baseLayer¶ For 3D textures and texture arrays, the first slice used in the range.
-
baseMip¶ The first mip level used in the range.
-
name¶ The name of the current image state.
-
numLayer¶ For 3D textures and texture arrays, the number of array slices in the range.
-
numMip¶ The number of mip levels in the range.
-
-
class
renderdoc.VKImageData¶ Contains the current layout of all subresources in the image.
-
layouts¶ A list of
VKImageLayoutwith the set of subresources that make up the image.
-
resourceId¶ The
ResourceIdof the image.
-