GPURenderPassDescriptor
public final class GPURenderPassDescriptor
A descriptor for starting a render pass.
Summary
Public constructors |
|---|
GPURenderPassDescriptor( |
Public methods |
|
|---|---|
final @NonNull GPURenderPassColorAttachment[] |
|
final GPURenderPassDepthStencilAttachment |
|
final String |
getLabel()The label for the render pass. |
final GPUQuerySet |
|
final GPURenderPassMaxDrawCount |
|
final GPUPassTimestampWrites |
|
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(GPUPassTimestampWrites timestampWrites) |
Public constructors
GPURenderPassDescriptor
Added in 1.0.0-alpha02
public GPURenderPassDescriptor(
String label,
@NonNull GPURenderPassColorAttachment[] colorAttachments,
GPURenderPassDepthStencilAttachment depthStencilAttachment,
GPUQuerySet occlusionQuerySet,
GPUPassTimestampWrites timestampWrites,
GPURenderPassMaxDrawCount renderPassMaxDrawCount
)
Public methods
getColorAttachments
Added in 1.0.0-alpha02
public final @NonNull GPURenderPassColorAttachment[] getColorAttachments()
getDepthStencilAttachment
Added in 1.0.0-alpha02
public final GPURenderPassDepthStencilAttachment getDepthStencilAttachment()
getRenderPassMaxDrawCount
Added in 1.0.0-alpha02
public final GPURenderPassMaxDrawCount getRenderPassMaxDrawCount()
setColorAttachments
Added in 1.0.0-alpha02
public final void setColorAttachments(
@NonNull GPURenderPassColorAttachment[] colorAttachments
)
setDepthStencilAttachment
Added in 1.0.0-alpha02
public final void setDepthStencilAttachment(
GPURenderPassDepthStencilAttachment depthStencilAttachment
)
setLabel
Added in 1.0.0-alpha02
public final void setLabel(String label)
The label for the render pass.
setOcclusionQuerySet
Added in 1.0.0-alpha02
public final void setOcclusionQuerySet(GPUQuerySet occlusionQuerySet)
setRenderPassMaxDrawCount
Added in 1.0.0-alpha02
public final void setRenderPassMaxDrawCount(
GPURenderPassMaxDrawCount renderPassMaxDrawCount
)
setTimestampWrites
Added in 1.0.0-alpha02
public final void setTimestampWrites(GPUPassTimestampWrites timestampWrites)