Commit missing files
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Nz
|
||||
struct VertexBufferData
|
||||
{
|
||||
std::size_t binding;
|
||||
VertexDeclarationConstRef declaration;
|
||||
std::shared_ptr<const VertexDeclaration> declaration;
|
||||
};
|
||||
|
||||
std::shared_ptr<RenderPipelineLayout> pipelineLayout;
|
||||
|
||||
@@ -19,10 +19,10 @@ namespace Nz
|
||||
|
||||
struct RenderStates
|
||||
{
|
||||
FaceFilling faceFilling = FaceFilling_Fill;
|
||||
FaceSide cullingSide = FaceSide_Back;
|
||||
RendererComparison depthCompare = RendererComparison_Less;
|
||||
PrimitiveMode primitiveMode = PrimitiveMode_TriangleList;
|
||||
FaceFilling faceFilling = FaceFilling::Fill;
|
||||
FaceSide cullingSide = FaceSide::Back;
|
||||
RendererComparison depthCompare = RendererComparison::Less;
|
||||
PrimitiveMode primitiveMode = PrimitiveMode::TriangleList;
|
||||
|
||||
struct
|
||||
{
|
||||
@@ -36,10 +36,10 @@ namespace Nz
|
||||
|
||||
struct
|
||||
{
|
||||
RendererComparison compare = RendererComparison_Always;
|
||||
StencilOperation depthFail = StencilOperation_Keep;
|
||||
StencilOperation fail = StencilOperation_Keep;
|
||||
StencilOperation pass = StencilOperation_Keep;
|
||||
RendererComparison compare = RendererComparison::Always;
|
||||
StencilOperation depthFail = StencilOperation::Keep;
|
||||
StencilOperation fail = StencilOperation::Keep;
|
||||
StencilOperation pass = StencilOperation::Keep;
|
||||
UInt32 compareMask = 0xFFFFFFFF;
|
||||
UInt32 reference = 0;
|
||||
UInt32 writeMask = 0xFFFFFFFF;
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Nz
|
||||
{
|
||||
struct RenderWindowParameters
|
||||
{
|
||||
std::vector<PixelFormat> depthFormats = {Nz::PixelFormat_Depth32, Nz::PixelFormat_Depth24}; //< By order of preference
|
||||
std::vector<PixelFormat> depthFormats = {Nz::PixelFormat::Depth32, Nz::PixelFormat::Depth24}; //< By order of preference
|
||||
bool verticalSync = false;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -17,12 +17,12 @@ namespace Nz
|
||||
struct TextureSamplerInfo
|
||||
{
|
||||
float anisotropyLevel = 0.f;
|
||||
SamplerFilter magFilter = SamplerFilter_Linear;
|
||||
SamplerFilter minFilter = SamplerFilter_Linear;
|
||||
SamplerMipmapMode mipmapMode = SamplerMipmapMode_Linear;
|
||||
SamplerWrap wrapModeU = SamplerWrap_Clamp;
|
||||
SamplerWrap wrapModeV = SamplerWrap_Clamp;
|
||||
SamplerWrap wrapModeW = SamplerWrap_Clamp;
|
||||
SamplerFilter magFilter = SamplerFilter::Linear;
|
||||
SamplerFilter minFilter = SamplerFilter::Linear;
|
||||
SamplerMipmapMode mipmapMode = SamplerMipmapMode::Linear;
|
||||
SamplerWrap wrapModeU = SamplerWrap::Clamp;
|
||||
SamplerWrap wrapModeV = SamplerWrap::Clamp;
|
||||
SamplerWrap wrapModeW = SamplerWrap::Clamp;
|
||||
|
||||
inline bool operator==(const TextureSamplerInfo& samplerInfo) const;
|
||||
inline bool operator!=(const TextureSamplerInfo& samplerInfo) const;
|
||||
|
||||
Reference in New Issue
Block a user