Skip to content

Color only or depth only render target? #289

Answered by asny
jice-nospam asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, use the as_color_target or as_depth_target on a texture, for example Texture2D::as_color_target. See also the documentation of RenderTarget, ColorTarget and DepthTarget.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jice-nospam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants