RenderPassDescriptor
public final class RenderPassDescriptor
A descriptor for starting a render pass.
Summary
Public constructors |
|---|
RenderPassDescriptor( |
Public methods |
|
|---|---|
final @NonNull RenderPassColorAttachment[] |
|
final RenderPassDepthStencilAttachment |
|
final String |
getLabel()The label for the render pass. |
final GPUQuerySet |
|
final RenderPassMaxDrawCount |
|
final PassTimestampWrites |
|
final void |
setColorAttachments( |
final void |
setDepthStencilAttachment( |
final void |
The label for the render pass. |
final void |
setOcclusionQuerySet(GPUQuerySet occlusionQuerySet) |
final void |
setRenderPassMaxDrawCount( |
final void |
setTimestampWrites(PassTimestampWrites timestampWrites) |
Public constructors
RenderPassDescriptor
Added in 1.0.0-alpha01
public RenderPassDescriptor(
String label,
@NonNull RenderPassColorAttachment[] colorAttachments,
RenderPassDepthStencilAttachment depthStencilAttachment,
GPUQuerySet occlusionQuerySet,
PassTimestampWrites timestampWrites,
RenderPassMaxDrawCount renderPassMaxDrawCount
)
Public methods
getColorAttachments
Added in 1.0.0-alpha01
public final @NonNull RenderPassColorAttachment[] getColorAttachments()
getDepthStencilAttachment
Added in 1.0.0-alpha01
public final RenderPassDepthStencilAttachment getDepthStencilAttachment()
getRenderPassMaxDrawCount
Added in 1.0.0-alpha01
public final RenderPassMaxDrawCount getRenderPassMaxDrawCount()
setColorAttachments
Added in 1.0.0-alpha01
public final void setColorAttachments(
@NonNull RenderPassColorAttachment[] colorAttachments
)
setDepthStencilAttachment
Added in 1.0.0-alpha01
public final void setDepthStencilAttachment(
RenderPassDepthStencilAttachment depthStencilAttachment
)
setLabel
Added in 1.0.0-alpha01
public final void setLabel(String label)
The label for the render pass.
setOcclusionQuerySet
Added in 1.0.0-alpha01
public final void setOcclusionQuerySet(GPUQuerySet occlusionQuerySet)
setRenderPassMaxDrawCount
Added in 1.0.0-alpha01
public final void setRenderPassMaxDrawCount(
RenderPassMaxDrawCount renderPassMaxDrawCount
)
setTimestampWrites
Added in 1.0.0-alpha01
public final void setTimestampWrites(PassTimestampWrites timestampWrites)