public interface R2DepthAttachmentShareType extends R2DepthAttachmentSpecificationType
| Modifier and Type | Method and Description |
|---|---|
default <A,B> B |
matchDepthAttachment(A context,
BiFunction<A,R2DepthAttachmentShareType,B> on_share,
BiFunction<A,R2DepthAttachmentCreateType,B> on_create)
Match on the type of depth attachment specification.
|
R2Texture2DUsableType |
texture()
The depth texture that will be used as a depth attachment.
|
default <A,B> B matchDepthAttachment(A context,
BiFunction<A,R2DepthAttachmentShareType,B> on_share,
BiFunction<A,R2DepthAttachmentCreateType,B> on_create)
R2DepthAttachmentSpecificationTypematchDepthAttachment in interface R2DepthAttachmentSpecificationTypeA - The type of context valuesB - The type of returned valuescontext - A user-defined context valueon_share - Evaluated on values of type R2DepthAttachmentShareTypeon_create - Evaluated on values of type R2DepthAttachmentCreateTypeR2Texture2DUsableType texture()
Copyright © 2017 <code@io7m.com> http://io7m.com