public interface R2DepthAttachmentCreateType 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,
BiFunction<A,R2DepthAttachmentCreateWithStencilType,B> on_create_stencil)
Match on the type of depth attachment specification.
|
R2DepthPrecision |
precision() |
default <A,B> B matchDepthAttachment(A context, BiFunction<A,R2DepthAttachmentShareType,B> on_share, BiFunction<A,R2DepthAttachmentCreateType,B> on_create, BiFunction<A,R2DepthAttachmentCreateWithStencilType,B> on_create_stencil)
R2DepthAttachmentSpecificationType
matchDepthAttachment
in interface R2DepthAttachmentSpecificationType
A
- The type of context valuesB
- The type of returned valuescontext
- A user-defined context valueon_share
- Evaluated on values of type R2DepthAttachmentShareType
on_create
- Evaluated on values of type R2DepthAttachmentCreateType
on_create_stencil
- Evaluated on values of type R2DepthAttachmentCreateWithStencilType
R2DepthPrecision precision()
Copyright © 2017 <code@io7m.com> http://io7m.com