mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-25 00:03:42 +00:00
Default initialise TextureSwizzle4 with RGBA swizzle
This commit is contained in:
1 file changed
+4
-4
@@ -450,13 +450,13 @@ struct TextureSwizzle4
|
||||
}
|
||||
|
||||
DOCUMENT("The red channel's :class:`TextureSwizzle`.");
|
||||
TextureSwizzle red;
|
||||
TextureSwizzle red = TextureSwizzle::Red;
|
||||
DOCUMENT("The green channel's :class:`TextureSwizzle`.");
|
||||
TextureSwizzle green;
|
||||
TextureSwizzle green = TextureSwizzle::Green;
|
||||
DOCUMENT("The blue channel's :class:`TextureSwizzle`.");
|
||||
TextureSwizzle blue;
|
||||
TextureSwizzle blue = TextureSwizzle::Blue;
|
||||
DOCUMENT("The alpha channel's :class:`TextureSwizzle`.");
|
||||
TextureSwizzle alpha;
|
||||
TextureSwizzle alpha = TextureSwizzle::Alpha;
|
||||
};
|
||||
|
||||
DECLARE_REFLECTION_STRUCT(TextureSwizzle4);
|
||||
|
||||
Reference in new issue
Block a user