mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-26 07:35:37 +00:00
Normalise and make python/public interface more consistent
* We enforce a naming scheme more strongly - types, member functions, and enum values must be UpperCaseCamel, and member variables must be lowerCaseCamel. No underscores allowed. * eventId not eventID or EID, and Id preferred to ID in general. Also for resourceId. * Removed some lingering hungarian m_Foo naming. * Some pipeline state structs that are almost identical between the different APIs are pulled out into common structs. Where something doesn't make sense (e.g. viewport enable for vulkan) it will just be set to a sensible default (in that case always true). * Changed scissors to be x/y & width/height instead of sometimes left/top/right/bottom * Abbreviations are discouraged, e.g. operation not op, function not func.
This commit is contained in:
@@ -82,13 +82,13 @@ Topology MakePrimitiveTopology(VkPrimitiveTopology Topo, uint32_t patchControlPo
|
||||
VkPrimitiveTopology MakeVkPrimitiveTopology(Topology Topo);
|
||||
AddressMode MakeAddressMode(VkSamplerAddressMode addr);
|
||||
void MakeBorderColor(VkBorderColor border, FloatVector *BorderColor);
|
||||
CompareFunc MakeCompareFunc(VkCompareOp func);
|
||||
CompareFunction MakeCompareFunc(VkCompareOp func);
|
||||
TextureFilter MakeFilter(VkFilter minFilter, VkFilter magFilter, VkSamplerMipmapMode mipmapMode,
|
||||
bool anisoEnable, bool compareEnable);
|
||||
LogicOp MakeLogicOp(VkLogicOp op);
|
||||
LogicOperation MakeLogicOp(VkLogicOp op);
|
||||
BlendMultiplier MakeBlendMultiplier(VkBlendFactor blend);
|
||||
BlendOp MakeBlendOp(VkBlendOp op);
|
||||
StencilOp MakeStencilOp(VkStencilOp op);
|
||||
BlendOperation MakeBlendOp(VkBlendOp op);
|
||||
StencilOperation MakeStencilOp(VkStencilOp op);
|
||||
|
||||
// set conservative access bits for this image layout
|
||||
VkAccessFlags MakeAccessMask(VkImageLayout layout);
|
||||
|
||||
Reference in New Issue
Block a user