mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 13:00:32 +00:00
Add defaults for TextureSave struct to fix JPEG saving
This commit is contained in:
@@ -412,12 +412,12 @@ It is an :class:`AlphaMapping` that controls what behaviour to use. :data:`alpha
|
||||
)");
|
||||
AlphaMapping alpha;
|
||||
DOCUMENT("The primary color to use in conjunction with :data:`alpha`.");
|
||||
FloatVector alphaCol;
|
||||
FloatVector alphaCol = FloatVector(0.81f, 0.81f, 0.81f, 1.0f);
|
||||
DOCUMENT("The secondary color to use in conjunction with :data:`alpha`.");
|
||||
FloatVector alphaColSecondary;
|
||||
FloatVector alphaColSecondary = FloatVector(0.57f, 0.57f, 0.57f, 1.0f);
|
||||
|
||||
DOCUMENT("The quality to use when saving to a ``JPG`` file. Valid values are between 1 and 100.");
|
||||
int jpegQuality;
|
||||
int jpegQuality = 90;
|
||||
};
|
||||
|
||||
DECLARE_REFLECTION_STRUCT(TextureSave);
|
||||
|
||||
Reference in New Issue
Block a user